Commit dedfaf80 authored by Sven Assmann's avatar Sven Assmann
Browse files

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 @@ ...@@ -5,7 +5,7 @@
"main": "index.ts", "main": "index.ts",
"scripts": { "scripts": {
"build": "webpack --config webpack.config.js", "build": "webpack --config webpack.config.js",
"start": "webpack-dev-server" "start": "webpack-dev-server --mode development"
}, },
"author": "Rahix <rahix@rahix.de>", "author": "Rahix <rahix@rahix.de>",
"license": "GPL-3.0-or-later", "license": "GPL-3.0-or-later",
......
...@@ -9,8 +9,6 @@ module.exports = { ...@@ -9,8 +9,6 @@ module.exports = {
path: path.resolve(__dirname, "dist"), path: path.resolve(__dirname, "dist"),
filename: "bundle.js", filename: "bundle.js",
}, },
mode: "development",
plugins: [ plugins: [
new WasmPackPlugin({crateDirectory: path.resolve(__dirname, "..")}), new WasmPackPlugin({crateDirectory: path.resolve(__dirname, "..")}),
new CleanWebpackPlugin(), 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