Skip to content

Commit

Permalink
build: bump rollup to support private class methods
Browse files Browse the repository at this point in the history
  • Loading branch information
exbotanical committed Jun 9, 2021
1 parent 914d30d commit 1c060b9
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 13 deletions.
5 changes: 2 additions & 3 deletions .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@
}]
],
"plugins": [
["@babel/plugin-proposal-class-properties", {
"loose": false
}],
["@babel/plugin-proposal-private-methods"],
["@babel/plugin-proposal-class-properties"],
["@babel/plugin-transform-runtime", {
"regenerator": true
}]
Expand Down
5 changes: 2 additions & 3 deletions build/babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@ export default {
}]
],
plugins: [
['@babel/plugin-proposal-class-properties', {
loose: false
}],
['@babel/plugin-proposal-private-methods'],
['@babel/plugin-proposal-class-properties'],
['@babel/plugin-transform-runtime', {
regenerator: true
}]
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@
"devDependencies": {
"@babel/core": "7.14.3",
"@babel/eslint-parser": "7.14.4",
"@babel/plugin-proposal-private-methods": "7.13.0",
"@babel/plugin-transform-runtime": "7.13.9",
"@babel/preset-env": "7.14.4",
"@commitlint/cli": "12.0.1",
Expand All @@ -72,7 +71,7 @@
"minami": "1.2.3",
"nodemon": "2.0.7",
"rimraf": "3.0.2",
"rollup": "2.40.0",
"rollup": "2.51.1",
"rollup-plugin-terser": "7.0.2",
"semantic-release": "^17.4.3",
"tape": "5.2.2"
Expand Down
1 change: 1 addition & 0 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export default [
[
'@babel/env',
{
shippedProposals: true,
modules: false,
useBuiltIns: 'usage',
targets: 'maintained node versions'
Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@
"@babel/helper-skip-transparent-expression-wrappers" "^7.12.1"
"@babel/plugin-syntax-optional-chaining" "^7.8.3"

"@babel/plugin-proposal-private-methods@7.13.0", "@babel/plugin-proposal-private-methods@^7.13.0":
"@babel/plugin-proposal-private-methods@^7.13.0":
version "7.13.0"
resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-private-methods/-/plugin-proposal-private-methods-7.13.0.tgz#04bd4c6d40f6e6bbfa2f57e2d8094bad900ef787"
integrity sha512-MXyyKQd9inhx1kDYPkFRVOBXQ20ES8Pto3T7UZ92xj2mY0EVD8oAVzeyYuVfy/mxAdTSIayOvg+aVzcHV2bn6Q==
Expand Down Expand Up @@ -6177,10 +6177,10 @@ rollup-plugin-terser@7.0.2:
serialize-javascript "^4.0.0"
terser "^5.0.0"

rollup@2.40.0:
version "2.40.0"
resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.40.0.tgz#efc218eaede7ab590954df50f96195188999c304"
integrity sha512-WiOGAPbXoHu+TOz6hyYUxIksOwsY/21TRWoO593jgYt8mvYafYqQl+axaA8y1z2HFazNUUrsMSjahV2A6/2R9A==
rollup@2.51.1:
version "2.51.1"
resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.51.1.tgz#87bcd4095fe79b14c9bec0edc7ffa44e4827f793"
integrity sha512-8xfDbAtBleXotb6qKEHWuo/jkn94a9dVqGc7Rwl3sqspCVlnCfbRek7ldhCARSi7h32H0xR4QThm1t9zHN+3uw==
optionalDependencies:
fsevents "~2.3.1"

Expand Down

0 comments on commit 1c060b9

Please sign in to comment.