Prevent webpack from minifying source code

a0ac1a2 upgraded Tridactyl's dependencies and webpack suddenly started
minifying the files it builds. This makes debugging much harder and thus
needs to be prevented. This is done by setting "mode" to "development"
in the module.exports object in webpack.config.js.
This commit is contained in:
glacambre 2018-09-14 22:13:13 +02:00
parent a0ac1a2878
commit 716e2fb615
No known key found for this signature in database
GPG key ID: B9625DB1767553AC

View file

@ -3,6 +3,7 @@ const CopyWebPackPlugin = require("copy-webpack-plugin")
// const WebpackShellPlugin = require('webpack-shell-plugin')
module.exports = {
mode: "development",
entry: {
background: "./src/background.ts",
content: "./src/content.ts",