Skip to content

Commit 38b5ed4

Browse files
chore: use terser for cjs build (#658)
1 parent f58c480 commit 38b5ed4

File tree

12 files changed

+110
-649
lines changed

12 files changed

+110
-649
lines changed

NOTICE.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.
-331 KB
Binary file not shown.

package.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,9 @@
66
"license": "Apache-2.0",
77
"scripts": {
88
"start": "lerna run build:i18n && start-storybook -p 6006 -c .storybook",
9-
"build": "npm-run-all -s build:clean build:esm build:cjs",
9+
"build": "npm-run-all -s build:clean build:bundle",
1010
"build:clean": "yarn clean",
11-
"build:esm": "lerna run build --stream",
12-
"build:cjs": "node ./scripts/rollup/build.js",
11+
"build:bundle": "lerna run build --stream",
1312
"build:storybook": "lerna run build:i18n && build-storybook -c .storybook -o .out",
1413
"pretest": "rimraf coverage && lerna run build:i18n",
1514
"test": "jest --config=config/jest.config.js --coverage",
@@ -62,7 +61,6 @@
6261
"@typescript-eslint/eslint-plugin": "^3.7.0",
6362
"@typescript-eslint/parser": "^3.7.0",
6463
"@ui5/webcomponents-tools": "^1.0.0-rc.8",
65-
"babel-code-frame": "^6.26.0",
6664
"babel-jest": "^26.2.2",
6765
"babel-loader": "^8.1.0",
6866
"chalk": "^4.0.0",
@@ -78,7 +76,6 @@
7876
"eslint-plugin-react": "^7.20.3",
7977
"eslint-plugin-react-hooks": "^4.0.8",
8078
"glob": "^7.1.6",
81-
"google-closure-compiler": "^20200406.0.0",
8279
"husky": "^4.2.5",
8380
"identity-obj-proxy": "^3.0.0",
8481
"jest": "^26.2.2",
@@ -96,7 +93,7 @@
9693
"react-app-polyfill": "^1.0.6",
9794
"rimraf": "^3.0.1",
9895
"rollup": "^2.23.0",
99-
"rollup-plugin-strip-banner": "^2.0.0",
96+
"rollup-plugin-terser": "^6.1.0",
10097
"shelljs": "^0.8.3",
10198
"sinon": "^9.0.2",
10299
"targz": "^1.0.1",

scripts/rollup/build.js

Lines changed: 0 additions & 281 deletions
This file was deleted.

scripts/rollup/bundles.js

Lines changed: 0 additions & 49 deletions
This file was deleted.

0 commit comments

Comments
 (0)