Webpack: suppress polyfill output
This commit is contained in:
parent
e8623d0af8
commit
13e330ebeb
1 changed files with 0 additions and 2 deletions
|
@ -26,7 +26,6 @@ module.exports = (api) => {
|
|||
|
||||
switch (env) {
|
||||
case 'production':
|
||||
envOptions.debug = false;
|
||||
config.plugins.push(...[
|
||||
'lodash',
|
||||
[
|
||||
|
@ -51,7 +50,6 @@ module.exports = (api) => {
|
|||
]);
|
||||
break;
|
||||
case 'development':
|
||||
envOptions.debug = true;
|
||||
config.plugins.push(...[
|
||||
'@babel/transform-react-jsx-source',
|
||||
'@babel/transform-react-jsx-self',
|
||||
|
|
Loading…
Reference in a new issue