mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-24 01:03:09 +02:00
MAKE COMPRESSION GREAT AGAIN
This commit is contained in:
parent
55df52fb04
commit
6bac17917e
1 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@ const StringReplacePlugin = require('string-replace-webpack-plugin');
|
||||||
|
|
||||||
import consts from './consts';
|
import consts from './consts';
|
||||||
import hoist from './hoist';
|
import hoist from './hoist';
|
||||||
//import minify from './minify';
|
import minify from './minify';
|
||||||
import banner from './banner';
|
import banner from './banner';
|
||||||
|
|
||||||
const env = process.env.NODE_ENV;
|
const env = process.env.NODE_ENV;
|
||||||
|
@ -16,7 +16,7 @@ export default (version, lang) => {
|
||||||
];
|
];
|
||||||
|
|
||||||
if (isProduction) {
|
if (isProduction) {
|
||||||
//plugins.push(minify());
|
plugins.push(minify());
|
||||||
}
|
}
|
||||||
|
|
||||||
plugins.push(banner(version));
|
plugins.push(banner(version));
|
||||||
|
|
Loading…
Reference in a new issue