mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-27 21:47:59 +01:00
fix terser options for prod
This commit is contained in:
parent
38b3f482ec
commit
d512ff1147
1 changed files with 0 additions and 2 deletions
|
@ -46,9 +46,7 @@ if (isDevelopment) {
|
||||||
else {
|
else {
|
||||||
plugins = plugins.concat([
|
plugins = plugins.concat([
|
||||||
new TerserPlugin({
|
new TerserPlugin({
|
||||||
cache: true,
|
|
||||||
parallel: true,
|
parallel: true,
|
||||||
sourceMap: isDevelopment,
|
|
||||||
}),
|
}),
|
||||||
new CssMinimizerPlugin(),
|
new CssMinimizerPlugin(),
|
||||||
]);
|
]);
|
||||||
|
|
Loading…
Reference in a new issue