packages/cli: disabled bundler performance hints

This commit is contained in:
Patrik Oldsberg
2020-05-18 01:15:00 +02:00
parent fe28a4ccf8
commit 9977724144
+3
View File
@@ -55,6 +55,9 @@ export function createConfig(
mode: isDev ? 'development' : 'production',
profile: false,
bail: false,
performance: {
hints: false, // we check the gzip size instead
},
devtool: isDev ? 'cheap-module-eval-source-map' : 'source-map',
context: paths.targetPath,
entry: [require.resolve('react-hot-loader/patch'), paths.targetEntry],