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

Commit

Permalink
fix: sourceMap not generated with Uglify (#819)
Browse files Browse the repository at this point in the history
* fix: sourceMap not generated with Uglify

* fix: sourceMap not generated with Uglify on Vue
  • Loading branch information
edusperoni authored and Dimitar Tachev committed Apr 5, 2019
1 parent ab6bbf6 commit b5fd066
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions templates/webpack.angular.js
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ module.exports = env => {
new UglifyJsPlugin({
parallel: true,
cache: true,
sourceMap: !!sourceMap,
uglifyOptions: {
output: {
comments: false,
Expand Down
1 change: 1 addition & 0 deletions templates/webpack.javascript.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ module.exports = env => {
new UglifyJsPlugin({
parallel: true,
cache: true,
sourceMap: !!sourceMap,
uglifyOptions: {
output: {
comments: false,
Expand Down
1 change: 1 addition & 0 deletions templates/webpack.typescript.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ module.exports = env => {
new UglifyJsPlugin({
parallel: true,
cache: true,
sourceMap: !!sourceMap,
uglifyOptions: {
output: {
comments: false,
Expand Down
1 change: 1 addition & 0 deletions templates/webpack.vue.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ module.exports = env => {
new UglifyJsPlugin({
parallel: true,
cache: true,
sourceMap: !!sourceMap,
uglifyOptions: {
output: {
comments: false,
Expand Down

0 comments on commit b5fd066

Please sign in to comment.