Skip to content

Commit

Permalink
Build: Make babel-loader optional
Browse files Browse the repository at this point in the history
  • Loading branch information
IanVS committed Oct 7, 2022
1 parent a2cdd73 commit 4e1782d
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 1 deletion.
6 changes: 5 additions & 1 deletion code/addons/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@
"@storybook/source-loader": "7.0.0-alpha.35",
"@storybook/store": "7.0.0-alpha.35",
"@storybook/theming": "7.0.0-alpha.35",
"babel-loader": "^8.2.5",
"dequal": "^2.0.2",
"global": "^4.4.0",
"lodash": "^4.17.21",
Expand All @@ -82,17 +81,22 @@
"@babel/core": "^7.12.10",
"@storybook/mdx2-csf": "0.0.4-canary.14.04ffbe8.0",
"@types/util-deprecate": "^1.0.0",
"babel-loader": "^8.2.5",
"typescript": "~4.6.3"
},
"peerDependencies": {
"@storybook/mdx2-csf": "0.0.4-canary.14.04ffbe8.0",
"babel-loader": "^8.2.5",
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
},
"peerDependenciesMeta": {
"@storybook/mdx2-csf": {
"optional": true
},
"babel-loader": {
"optional": true
},
"react": {
"optional": true
},
Expand Down
5 changes: 5 additions & 0 deletions code/renderers/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,11 @@
"css-loader": "*",
"vue": "^2.6.8"
},
"peerDependenciesMeta": {
"babel-loader": {
"optional": true
}
},
"engines": {
"node": ">=10.13.0"
},
Expand Down
5 changes: 5 additions & 0 deletions code/renderers/vue3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,11 @@
"babel-loader": "^7.0.0 || ^8.0.0",
"vue": "^3.0.0"
},
"peerDependenciesMeta": {
"babel-loader": {
"optional": true
}
},
"engines": {
"node": ">=10.13.0"
},
Expand Down
9 changes: 9 additions & 0 deletions code/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6597,11 +6597,14 @@ __metadata:
util-deprecate: ^1.0.2
peerDependencies:
"@storybook/mdx2-csf": 0.0.4-canary.14.04ffbe8.0
babel-loader: ^8.2.5
react: ^16.8.0 || ^17.0.0 || ^18.0.0
react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0
peerDependenciesMeta:
"@storybook/mdx2-csf":
optional: true
babel-loader:
optional: true
react:
optional: true
react-dom:
Expand Down Expand Up @@ -9168,6 +9171,9 @@ __metadata:
"@babel/core": "*"
babel-loader: ^7.0.0 || ^8.0.0
vue: ^3.0.0
peerDependenciesMeta:
babel-loader:
optional: true
languageName: unknown
linkType: soft

Expand All @@ -9192,6 +9198,9 @@ __metadata:
babel-loader: ^7.0.0 || ^8.0.0
css-loader: "*"
vue: ^2.6.8
peerDependenciesMeta:
babel-loader:
optional: true
languageName: unknown
linkType: soft

Expand Down

0 comments on commit 4e1782d

Please sign in to comment.