Skip to content
This repository was archived by the owner on Aug 7, 2021. It is now read-only.

fix: cache/parallel should be outside uglifyOptions #670

Merged
merged 2 commits into from
Sep 25, 2018
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions templates/webpack.angular.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,9 @@ module.exports = env => {
minimize: !!uglify,
minimizer: [
new UglifyJsPlugin({
parallel: true,
cache: true,
uglifyOptions: {
parallel: true,
cache: true,
output: {
comments: false,
},
Expand Down
4 changes: 2 additions & 2 deletions templates/webpack.javascript.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,9 @@ module.exports = env => {
minimize: !!uglify,
minimizer: [
new UglifyJsPlugin({
parallel: true,
cache: true,
uglifyOptions: {
parallel: true,
cache: true,
output: {
comments: false,
},
Expand Down
4 changes: 2 additions & 2 deletions templates/webpack.typescript.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,9 @@ module.exports = env => {
minimize: !!uglify,
minimizer: [
new UglifyJsPlugin({
parallel: true,
cache: true,
uglifyOptions: {
parallel: true,
cache: true,
output: {
comments: false,
},
Expand Down
4 changes: 2 additions & 2 deletions templates/webpack.vue.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,9 @@ module.exports = env => {
minimize: Boolean(production),
minimizer: [
new UglifyJsPlugin({
parallel: true,
cache: true,
uglifyOptions: {
parallel: true,
cache: true,
output: {
comments: false,
},
Expand Down