We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ad8d86 commit 611f931Copy full SHA for 611f931
js/example-frontend-js/webpack.config.js
@@ -16,6 +16,7 @@
16
17
const webpack = require("webpack");
18
const HtmlWebpackPlugin = require('html-webpack-plugin');
19
+const UglifyJSPlugin = require('uglifyjs-webpack-plugin');
20
const path = require("path");
21
22
const dist = path.resolve(__dirname, "build/dist");
@@ -49,10 +50,13 @@ module.exports = {
49
50
path.resolve(__dirname, "src/main/web/")
51
]
52
},
53
+ devtool: 'source-map',
54
plugins: [
55
new HtmlWebpackPlugin({
56
title: 'Kotlin Coroutines JS Example'
57
}),
- new webpack.optimize.UglifyJsPlugin()
58
+ new UglifyJSPlugin({
59
+ sourceMap: true
60
+ })
61
62
};
0 commit comments