Skip to content

Commit 661120c

Browse files
authored
feat(deps): upgrade rollup, commonjs plugin (#5274)
upgrade rollup to v2.56.3 and `@rollup/plugin-commonjs` to v21.1. this commit raises these libraries to the highest version as possible without introducing breaking changes. v2.57 has a bug in it that requires `@rollup/plugin-commonjs@22` for handling CJS-ESM interop. that version of `@rollup/plugin-commonjs` requires `@rollup/plugin-node-resolve@13`. however, `@rollup/plugin-node-resolve@11` has changes that would be breaking for existing users (see #5269) in these various versions of both libraries, new flags have been added to configure its output. for now, we continue to use the existing configurations to prevent breaking users. these new configurations have been recorded and tackled when we upgrade to newer versions of rollup (as a part of stencil v5). future upgrades will be slated to stencil v5.0.0. STENCIL-595
1 parent 6faf746 commit 661120c

2 files changed

Lines changed: 12 additions & 12 deletions

File tree

package-lock.json

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
},
6161
"devDependencies": {
6262
"@ionic/prettier-config": "^4.0.0",
63-
"@rollup/plugin-commonjs": "15.1.0",
63+
"@rollup/plugin-commonjs": "21.1.0",
6464
"@rollup/plugin-json": "6.1.0",
6565
"@rollup/plugin-node-resolve": "9.0.0",
6666
"@rollup/plugin-replace": "5.0.5",
@@ -119,7 +119,7 @@
119119
"prettier": "3.2.2",
120120
"prompts": "2.4.2",
121121
"puppeteer": "^21.0.0",
122-
"rollup": "2.42.3",
122+
"rollup": "2.56.3",
123123
"rollup-plugin-sourcemaps": "^0.6.3",
124124
"semver": "^7.3.7",
125125
"terser": "5.26.0",

0 commit comments

Comments
 (0)