eddev 2.0.0-beta.4 → 2.0.0-beta.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -63,14 +63,14 @@ export function getViteConfig(args) {
|
|
|
63
63
|
"process.env.NODE_ENV": JSON.stringify(args.mode),
|
|
64
64
|
// ssrLoadModule: "() => Promise.resolve({})",
|
|
65
65
|
},
|
|
66
|
-
optimizeDeps: {
|
|
67
|
-
//
|
|
68
|
-
//
|
|
69
|
-
//
|
|
70
|
-
//
|
|
71
|
-
//
|
|
72
|
-
//
|
|
73
|
-
},
|
|
66
|
+
// optimizeDeps: {
|
|
67
|
+
// force: true,
|
|
68
|
+
// holdUntilCrawlEnd: true,
|
|
69
|
+
// include: ["zustand"],
|
|
70
|
+
// noDiscovery: true,
|
|
71
|
+
// exclude: ["react-external.js", "react-dom-external.js", "react", "react-dom"],
|
|
72
|
+
// esbuildOptions: {},
|
|
73
|
+
// },
|
|
74
74
|
resolve: {
|
|
75
75
|
alias: [
|
|
76
76
|
{ find: "@manifest/blocks", replacement: join(args.project.rootDir, "__block-manifest.js") },
|
|
@@ -271,14 +271,6 @@ export function getViteConfig(args) {
|
|
|
271
271
|
}
|
|
272
272
|
: undefined,
|
|
273
273
|
},
|
|
274
|
-
sourcemap: true,
|
|
275
|
-
minify: args.mode === "production",
|
|
276
|
-
modulePreload: false,
|
|
277
|
-
outDir: args.outDir,
|
|
278
|
-
watch: {},
|
|
279
|
-
commonjsOptions: {
|
|
280
|
-
exclude: ["eddev"],
|
|
281
|
-
},
|
|
282
274
|
}
|
|
283
275
|
: {
|
|
284
276
|
manifest: true,
|