There was an error while loading. Please reload this page.
1 parent e498865 commit 5b6b16dCopy full SHA for 5b6b16d
1 file changed
packages/bundler-utoopack/src/config.ts
@@ -147,8 +147,6 @@ export async function getProdUtooPackConfig(
147
optimization: {
148
modularizeImports,
149
concatenateModules: true,
150
- // minify: false,
151
- // moduleIds: 'named',
152
},
153
resolve: {
154
alias: getNormalizedAlias(
@@ -168,6 +166,7 @@ export async function getProdUtooPackConfig(
168
166
define: {
169
167
'process.env': JSON.stringify(processEnvForUtoopack),
170
+ nodePolyfill: true,
171
172
opts.config.utoopack || {},
173
),
@@ -279,6 +278,7 @@ export async function getDevUtooPackConfig(
279
278
280
281
282
283
284
0 commit comments