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