"^5.3.4" }, "dependencies": { "@rollup/plugin-virtual": "^3.0.2", "@swc/core": "^1.7.0", "uuid": "^10.0.0" }, "peerDependencies": { "vite": ">=2.8" }, "config": { "commitizen": { "path": "./node_modules/cz-conventional-changelog" } }, "files": [ "/dist", "...
Locked swc core version to resolve top level await plugin error.powersync-ja/vue-supabase-todolist-template#5 确实是版本问题 marekvospelmentioned this issueNov 16, 2024 Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment...
import{ElementPlusResolver}from"unplugin-vue-components/resolvers"; importComponentsfrom"unplugin-vue-components/vite"; import{defineConfig,loadEnv}from"vite"; importtopLevelAwaitfrom"vite-plugin-top-level-await"; importVueDevToolsfrom"vite-plugin-vue-devtools"; ...
"description": "Allows the usage of top level await in REPL.\n\nUses node's implementation which accomplishes this with an AST syntax transformation.\n\nEnabled by default when tsconfig target is es2018 or above. Set to false to disable.\n\n**Note**: setting to `true` when tsconfig ...
4 + import virtual from "@rollup/plugin-virtual"; 3 5 import * as SWC from "@swc/core"; 4 6 import esbuild from "./esbuild"; 5 7 @@ -17,21 +19,39 @@ export default function topLevelAwait(options?: Options): Plugin { 17 19 ...(options || {}) 18 20 }; 1...
[](https://github.com/Menci/vite-plugin-top-level-await/actions?query=workflow%3ATest) [![npm](https://img.shields.io/npm/v/vite-plugin-top-level-await?style=flat...
resolved "https://registry.npmmirror.com/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz#c1cfdadc35a646240001f06138247b741c34d94c" integrity sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw== dependencies...
"@babel/helper-plugin-utils" "^7.8.0" "@babel/plugin-syntax-top-level-await@^7.8.3": version "7.14.5" resolved "https://registry.npmmirror.com/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz#c1cfdadc35a646240001f06138247b741c34d94c" integrity sh...
"@rollup/plugin-virtual": "^3.0.2", "@swc/core": "^1.3.100", "uuid": "^9.0.1" "@swc/core": "^1.7.0", "uuid": "^10.0.0" }, "peerDependencies": {"vite": ">=2.8"16 changes: 16 additions & 0 deletions 16 src/utils/make-node.ts Original file line numberDiff lin...
"@rollup/plugin-virtual":"^3.0.2", 45- "@swc/core":"^1.3.100", 46- "uuid":"^9.0.1" 45+ "@swc/core":"^1.7.0", 46+ "uuid":"^10.0.0" 4747 }, 4848 "peerDependencies": { 4949 "vite":">=2.8" src/utils/make-node.ts ...