Skip to content

Commit

Permalink
Update to Rollup 2.
Browse files Browse the repository at this point in the history
 - Update Rollup
 - Update plugin-commonjs, plugin-json, plugin-replace, plugin-terser to versions
   officially supporting Rollup 2
  • Loading branch information
ludofischer committed Sep 28, 2020
1 parent 9cfa396 commit 971b2b9
Show file tree
Hide file tree
Showing 3 changed files with 1,529 additions and 1,298 deletions.
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@
"@babel/preset-env": "^7.11.0",
"@babel/traverse": "^7.11.5",
"@rollup/plugin-babel": "^5.1.0",
"@rollup/plugin-commonjs": "^11.0.0",
"@rollup/plugin-json": "^4.0.0",
"@rollup/plugin-commonjs": "^15.1.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^9.0.0",
"@rollup/plugin-replace": "^2.2.1",
"@rollup/plugin-replace": "^2.3.3",
"@types/jest": "^25.2.1",
"@typescript-eslint/eslint-plugin": "^2.12.0",
"@typescript-eslint/parser": "^2.12.0",
Expand Down Expand Up @@ -86,9 +86,9 @@
"prettier": "^1.19.1",
"progress-estimator": "^0.2.2",
"regenerator-runtime": "^0.13.7",
"rollup": "^1.32.1",
"rollup": "^2.28.2",
"rollup-plugin-sourcemaps": "^0.6.2",
"rollup-plugin-terser": "^5.1.2",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.26.0",
"sade": "^1.4.2",
"semver": "^7.1.1",
Expand Down Expand Up @@ -122,7 +122,7 @@
"styled-components": "^5.0.1",
"tiny-invariant": "^1.1.0",
"tiny-warning": "^1.0.3",
"yarn-deduplicate": "^2.1.1"
"yarn-deduplicate": "^3.0.0"
},
"husky": {
"hooks": {
Expand Down
1 change: 0 additions & 1 deletion src/createRollupConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,6 @@ export async function createRollupConfig(
sourceMaps(),
shouldMinify &&
terser({
sourcemap: true,
output: { comments: false },
compress: {
keep_infinity: true,
Expand Down
Loading

0 comments on commit 971b2b9

Please sign in to comment.