Skip to content

Commit

Permalink
fix: remove @rollup/plugin-commonjs
Browse files Browse the repository at this point in the history
  • Loading branch information
cycjimmy committed Jun 21, 2022
1 parent a5faab3 commit e707283
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 130 deletions.
127 changes: 8 additions & 119 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 8 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,20 +43,19 @@
"@cycjimmy/awesome-js-funcs": "^4.0.8"
},
"devDependencies": {
"@babel/core": "^7.17.8",
"@babel/preset-env": "^7.16.11",
"@babel/core": "^7.18.5",
"@babel/preset-env": "^7.18.2",
"@cycjimmy/config-lib": "^3.2.1",
"@rollup/plugin-babel": "^5.3.1",
"@rollup/plugin-commonjs": "^21.0.2",
"@rollup/plugin-eslint": "^8.0.1",
"@rollup/plugin-eslint": "^8.0.2",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.1.3",
"@rollup/plugin-node-resolve": "^13.3.0",
"cross-env": "^7.0.3",
"eslint": "^8.12.0",
"eslint": "^8.18.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.25.4",
"fs-extra": "^10.0.1",
"rollup": "^2.70.1",
"eslint-plugin-import": "^2.26.0",
"fs-extra": "^10.1.0",
"rollup": "^2.75.7",
"rollup-plugin-browsersync": "^1.3.3",
"rollup-plugin-copy": "^3.4.0",
"rollup-plugin-terser": "^7.0.2",
Expand Down
2 changes: 0 additions & 2 deletions rollup/rollup.common.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import eslint from '@rollup/plugin-eslint';
import json from '@rollup/plugin-json';
import resolve from '@rollup/plugin-node-resolve';
import commonjs from '@rollup/plugin-commonjs';
import { babel } from '@rollup/plugin-babel';
import { terser } from 'rollup-plugin-terser';

Expand All @@ -28,7 +27,6 @@ export const plugins = [
}),
resolve(),
babel({ babelHelpers: 'bundled' }),
commonjs(),
];

export const terserPlugins = IS_PRODUCTION && terser(terserOption);

0 comments on commit e707283

Please sign in to comment.