-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update rollup and babel to latest versions #8200
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,10 +48,6 @@ | |
"devDependencies": { | ||
"@types/is-git-clean": "^1.1.0", | ||
"@types/jscodeshift": "^0.11.5", | ||
"@rollup/plugin-babel": "^5.3.1", | ||
"@rollup/plugin-commonjs": "^22.0.2", | ||
"@rollup/plugin-json": "^4.1.0", | ||
"@rollup/plugin-node-resolve": "^13.3.0", | ||
Comment on lines
-51
to
-54
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Moved to root |
||
"@shopify/polaris": "^10.24.0", | ||
"plop": "^3.1.1", | ||
"plop-dir": "^0.0.5", | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,14 +21,14 @@ export default { | |
output: [ | ||
{ | ||
format: /** @type {const} */ ('cjs'), | ||
entryFileNames: '[name][assetExtname].js', | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
entryFileNames: '[name].js', | ||
dir: path.dirname(pkg.main), | ||
preserveModules: true, | ||
exports: 'auto', | ||
}, | ||
{ | ||
format: /** @type {const} */ ('esm'), | ||
entryFileNames: '[name][assetExtname].mjs', | ||
entryFileNames: '[name].mjs', | ||
dir: path.dirname(pkg.module), | ||
preserveModules: true, | ||
}, | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
manualChunks
is going to move tooutput
in the next breaking change. This moves it now so we don't have to fix it later.