Skip to content

Commit b3ec7c5

Browse files
committed
修改__INSTALLS__
1 parent 040abfb commit b3ec7c5

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

react/config/webpack.config.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -472,14 +472,14 @@ export default function getWebpackCommonConfig(mode, env, envStr) {
472472
options: babelOptions,
473473

474474
},
475-
{
476-
test: /moduleInjects\.(js|jsx|ts|tsx)$/,
477-
loader: 'string-replace-loader',
478-
options: {
479-
search: '__INSTALLS__',
480-
replace: `${INSTALLS.map((install) => `import "${install}"`).join(';\n')}`,
481-
},
482-
},
475+
// {
476+
// test: /moduleInjects\.(js|jsx|ts|tsx)$/,
477+
// loader: 'string-replace-loader',
478+
// options: {
479+
// search: '__INSTALLS__',
480+
// replace: `${INSTALLS.map((install) => `import "${install}"`).join(';\n')}`,
481+
// },
482+
// },
483483
{
484484
test: /routesCollections\.(js|jsx|ts|tsx)$/,
485485
loader: 'string-replace-loader',

0 commit comments

Comments
 (0)