We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b82d95 commit 7b070f2Copy full SHA for 7b070f2
vite.config.mts
@@ -47,6 +47,18 @@ const config: UserConfig = {
47
fs: path.join(dirname, "./docs-svelte-kit/shim/fs.mjs"),
48
globby: path.join(dirname, "./docs-svelte-kit/shim/globby.mjs"),
49
tslib: path.join(dirname, "./node_modules/tslib/tslib.es6.js"),
50
+
51
+ // Alias to CJS
52
+ "svelte/compiler": path.join(
53
+ dirname,
54
+ "./node_modules/svelte/compiler.js",
55
+ ),
56
+ "eslint-visitor-keys": path.join(
57
58
+ "./node_modules/eslint-visitor-keys/dist/eslint-visitor-keys.cjs",
59
60
+ espree: path.join(dirname, "./node_modules/espree/dist/espree.cjs"),
61
+ acorn: path.join(dirname, "./node_modules/acorn/dist/acorn.js"),
62
},
63
64
build: {
0 commit comments