Skip to content

Commit 1514acb

Browse files
committed
build: updates and improved webpack config
1 parent 52d8409 commit 1514acb

File tree

5 files changed

+485
-448
lines changed

5 files changed

+485
-448
lines changed

packages/eslint-config/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@
1212
},
1313
"dependencies": {
1414
"@tsparticles/prettier-config": "^2.0.5",
15-
"@typescript-eslint/eslint-plugin": "^6.18.1",
16-
"@typescript-eslint/parser": "^6.18.1",
15+
"@typescript-eslint/eslint-plugin": "^6.19.1",
16+
"@typescript-eslint/parser": "^6.19.1",
1717
"eslint": "^8.56.0",
1818
"eslint-config-prettier": "^9.1.0",
1919
"eslint-plugin-import": "^2.29.1",
20-
"eslint-plugin-jsdoc": "^48.0.2",
20+
"eslint-plugin-jsdoc": "^48.0.4",
2121
"eslint-plugin-tsdoc": "^0.2.17",
22-
"prettier": "^3.2.2",
22+
"prettier": "^3.2.4",
2323
"typescript": "^5.3.3"
2424
}
2525
}

packages/prettier-config/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"access": "public"
1313
},
1414
"dependencies": {
15-
"prettier": "^3.2.2",
15+
"prettier": "^3.2.4",
1616
"prettier-plugin-multiline-arrays": "^3.0.1"
1717
}
1818
}

packages/webpack-config/package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,29 +25,29 @@
2525
},
2626
"prettier": "@tsparticles/prettier-config",
2727
"dependencies": {
28-
"@babel/core": "^7.23.7",
29-
"@babel/preset-env": "^7.23.8",
28+
"@babel/core": "^7.23.9",
29+
"@babel/preset-env": "^7.23.9",
3030
"@tsparticles/eslint-config": "^2.0.5",
3131
"@tsparticles/prettier-config": "^2.0.5",
32-
"@types/node": "^20.11.0",
32+
"@types/node": "^20.11.9",
3333
"@types/webpack-bundle-analyzer": "^4.6.3",
3434
"@types/webpack-env": "^1.18.4",
35-
"@typescript-eslint/eslint-plugin": "^6.18.1",
36-
"@typescript-eslint/parser": "^6.18.1",
35+
"@typescript-eslint/eslint-plugin": "^6.19.1",
36+
"@typescript-eslint/parser": "^6.19.1",
3737
"babel-loader": "^9.1.3",
38-
"browserslist": "^4.22.2",
38+
"browserslist": "^4.22.3",
3939
"copyfiles": "^2.4.1",
4040
"eslint": "^8.56.0",
4141
"eslint-config-prettier": "^9.1.0",
4242
"eslint-plugin-import": "^2.29.1",
43-
"eslint-plugin-jsdoc": "^48.0.2",
43+
"eslint-plugin-jsdoc": "^48.0.4",
4444
"eslint-plugin-tsdoc": "^0.2.17",
45-
"prettier": "^3.2.2",
45+
"prettier": "^3.2.4",
4646
"prettier-plugin-multiline-arrays": "^3.0.1",
4747
"rimraf": "^5.0.5",
4848
"terser-webpack-plugin": "^5.3.10",
4949
"typescript": "^5.3.3",
50-
"webpack": "^5.89.0",
50+
"webpack": "^5.90.0",
5151
"webpack-bundle-analyzer": "^4.10.1",
5252
"webpack-cli": "^5.1.4"
5353
}

packages/webpack-config/src/common/getConfig.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,11 @@ const getConfig = (params: ConfigParams): unknown => {
6969
minimizer: [
7070
new TerserPlugin({
7171
include: /\.min\.js$/,
72+
parallel: true,
73+
terserOptions: {
74+
ecma: 2019,
75+
module: true,
76+
},
7277
}),
7378
],
7479
},

0 commit comments

Comments
 (0)