Skip to content
This repository was archived by the owner on May 3, 2026. It is now read-only.

Commit 5cc4a27

Browse files
authored
Merge pull request #214 from tsparticles/dev
3.4.13
2 parents 3daadeb + 7a07bb7 commit 5cc4a27

8 files changed

Lines changed: 26 additions & 299 deletions

File tree

packages/browserslist-config/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tsparticles/browserslist-config",
3-
"version": "3.4.12",
3+
"version": "3.4.13",
44
"description": "tsParticles default Browserslist configuration",
55
"main": "dist/index.js",
66
"license": "MIT",

packages/depcruise-config/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tsparticles/depcruise-config",
3-
"version": "3.4.12",
3+
"version": "3.4.13",
44
"private": false,
55
"type": "module",
66
"publishConfig": {

packages/eslint-config/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tsparticles/eslint-config",
3-
"version": "3.4.12",
3+
"version": "3.4.13",
44
"description": "tsParticles default ESLint Configuration (ESLint 10 + Flat Config)",
55
"type": "module",
66
"main": "dist/eslint.config.js",

packages/prettier-config/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tsparticles/prettier-config",
3-
"version": "3.4.12",
3+
"version": "3.4.13",
44
"description": "tsParticles default Prettier Configuration",
55
"main": "dist/prettier-config.json",
66
"license": "MIT",

packages/tsconfig/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tsparticles/tsconfig",
3-
"version": "3.4.12",
3+
"version": "3.4.13",
44
"description": "tsParticles default TypeScript Compiler Configuration",
55
"license": "MIT",
66
"repository": {

packages/webpack-config/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tsparticles/webpack-plugin",
3-
"version": "3.4.12",
3+
"version": "3.4.13",
44
"type": "module",
55
"main": "dist/webpack-tsparticles.js",
66
"types": "dist/webpack-tsparticles.d.ts",
@@ -35,7 +35,6 @@
3535
"@tsparticles/eslint-config": "workspace:^3.4.11",
3636
"@tsparticles/prettier-config": "workspace:^3.4.11",
3737
"browserslist": "^4.28.2",
38-
"esbuild": "^0.28.0",
3938
"eslint": "^10.2.1",
4039
"eslint-config-prettier": "^10.1.8",
4140
"eslint-plugin-jsdoc": "^62.9.0",

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { BundleAnalyzerPlugin } from "webpack-bundle-analyzer";
22
import type { ExternalData } from "./ExternalData.js";
33
import TerserPlugin from "terser-webpack-plugin";
4-
import type { TransformOptions } from "esbuild";
54
import { getEntry } from "./getEntry.js";
65
import { getExternals } from "./getExternals.js";
76
import path from "node:path";
@@ -94,17 +93,18 @@ function getSingleConfig(params: ConfigParams, min: boolean, lazy: boolean): unk
9493
optimization: {
9594
minimize: min,
9695
minimizer: [
97-
new TerserPlugin<TransformOptions>({
96+
new TerserPlugin({
9897
include: /\.min\.js$/,
99-
minify: TerserPlugin.esbuildMinify,
10098
parallel: true,
10199
terserOptions: {
102-
minify: true,
103-
minifyWhitespace: true,
104-
minifyIdentifiers: true,
105-
minifySyntax: true,
106-
legalComments: "none",
107-
target: "es2022",
100+
compress: {
101+
unused: true,
102+
dead_code: true,
103+
},
104+
mangle: true,
105+
format: {
106+
comments: false,
107+
},
108108
},
109109
}),
110110
],

0 commit comments

Comments
 (0)