Skip to content

Commit

Permalink
chore(*): fix build source map errors
Browse files Browse the repository at this point in the history
  • Loading branch information
sulcata committed Nov 18, 2017
1 parent 63eef14 commit 3a6043c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/webpack.app.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const baseConfig = require("./webpack.app.config");

const config = cloneDeep(baseConfig);

config.devtool = "source-map";
config.devtool = "cheap-module-source-map";

config.plugins = config.plugins || [];
config.plugins.unshift(
Expand Down
2 changes: 1 addition & 1 deletion build/webpack.lib.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const config = {
library: "sulcalc",
libraryTarget: "umd"
},
devtool: "source-map",
devtool: "cheap-module-source-map",
stats: "minimal",
module: {
strictExportPresence: true,
Expand Down

0 comments on commit 3a6043c

Please sign in to comment.