Skip to content

Commit

Permalink
Restore core-js to csf-tools
Browse files Browse the repository at this point in the history
It uses regexp.flags, which our browserslist thinks needs to be polyfilled.
I think this can be removed again once we move csf-tools from babel to esbuild.
  • Loading branch information
IanVS committed Sep 3, 2022
1 parent ce8b25c commit 51acd12
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions code/lib/csf-tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
"@babel/traverse": "^7.12.11",
"@babel/types": "^7.12.11",
"@storybook/csf": "0.0.2--canary.0899bb7.0",
"core-js": "^3.8.2",
"fs-extra": "^9.0.1",
"global": "^4.4.0",
"ts-dedent": "^2.0.0"
Expand Down
3 changes: 3 additions & 0 deletions code/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7279,6 +7279,7 @@ __metadata:
"@types/jest": ^26.0.16
"@types/jest-specific-snapshot": ^0.5.3
babel-loader: ^8.2.5
core-js: ^3.8.2
enzyme: ^3.11.0
enzyme-to-json: ^3.6.1
glob: ^7.1.6
Expand Down Expand Up @@ -7511,6 +7512,7 @@ __metadata:
"@types/react-dom": ^16.9.14
"@types/tmp": ^0.2.3
autoprefixer: ^9.8.6
core-js: ^3.8.2
cross-spawn: ^7.0.3
find-up: ^5.0.0
fork-ts-checker-webpack-plugin: ^7.2.6
Expand Down Expand Up @@ -8187,6 +8189,7 @@ __metadata:
"@storybook/csf": 0.0.2--canary.0899bb7.0
"@storybook/mdx2-csf": ^0.0.3
"@types/fs-extra": ^9.0.6
core-js: ^3.8.2
fs-extra: ^9.0.1
global: ^4.4.0
js-yaml: ^3.14.1
Expand Down

0 comments on commit 51acd12

Please sign in to comment.