Commit dedfaf80 authored by Sven Assmann's avatar Sven Assmann

fix(obfuscation): remove development mode

 - without the development mode webpack
   defaults now to production mode
 - only for local dev and the dev ci run it uses development mode hence non obfuscated code
parent 79d00f7a
......@@ -5,7 +5,7 @@
"main": "index.ts",
"scripts": {
"build": "webpack --config webpack.config.js",
"start": "webpack-dev-server"
"start": "webpack-dev-server --mode development"
},
"author": "Rahix <rahix@rahix.de>",
"license": "GPL-3.0-or-later",
......
......@@ -9,8 +9,6 @@ module.exports = {
path: path.resolve(__dirname, "dist"),
filename: "bundle.js",
},
mode: "development",
plugins: [
new WasmPackPlugin({crateDirectory: path.resolve(__dirname, "..")}),
new CleanWebpackPlugin(),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment