Fix ide support
This commit is contained in:
parent
1a3afe4dd0
commit
e01400058d
14 changed files with 50 additions and 20 deletions
|
|
@ -6,9 +6,9 @@
|
|||
"author": "András Schmelczer <andras@schmelczer.dev> (https://schmelczer.dev/)",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"build": "webpack --mode production",
|
||||
"build": "npx webpack --mode production",
|
||||
"initialize": "npm install",
|
||||
"start": "concurrently --kill-others \"webpack --mode development -w\" \"nodemon --legacy-watch dist/main.js\"",
|
||||
"start": "concurrently --kill-others \"npx webpack --mode development -w\" \"nodemon --legacy-watch dist/main.js\"",
|
||||
"try-build": "npm run build && node dist/main.js"
|
||||
},
|
||||
"dependencies": {
|
||||
|
|
|
|||
|
|
@ -33,6 +33,7 @@ module.exports = (env, argv) => ({
|
|||
new TerserJSPlugin({
|
||||
sourceMap: false,
|
||||
test: /\.js$/,
|
||||
exclude: /node_modules/,
|
||||
terserOptions: {
|
||||
keep_classnames: true,
|
||||
},
|
||||
|
|
@ -65,6 +66,7 @@ module.exports = (env, argv) => ({
|
|||
loader: 'ts',
|
||||
target: 'es2015',
|
||||
},
|
||||
exclude: /node_modules/,
|
||||
},
|
||||
],
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue