Skip to content

Commit 2108fe4

Browse files
authored
Merge pull request #4 from pexea12/add-sourcemap
feat (webpack): add sourcemap
2 parents 151a053 + 8392cd1 commit 2108fe4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

build/webpack.prod.conf.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ config.plugins = (config.plugins || []).concat([
2828
}),
2929

3030
new UglifyJSPlugin({
31+
sourceMap: true,
32+
3133
compress: {
3234
warnings: false,
3335
drop_debugger: true,
@@ -51,4 +53,4 @@ config.plugins = (config.plugins || []).concat([
5153
new webpack.optimize.OccurrenceOrderPlugin(),
5254
])
5355

54-
module.exports = config
56+
module.exports = config

0 commit comments

Comments
 (0)