Build: Make babel-loader optional

This commit is contained in:
Ian VanSchooten 2022-10-06 22:56:28 -04:00
parent a2cdd73b48
commit 4e1782d3e2
4 changed files with 24 additions and 1 deletions

View File

@ -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",
@ -82,10 +81,12 @@
"@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"
},
@ -93,6 +94,9 @@
"@storybook/mdx2-csf": {
"optional": true
},
"babel-loader": {
"optional": true
},
"react": {
"optional": true
},

View File

@ -71,6 +71,11 @@
"css-loader": "*",
"vue": "^2.6.8"
},
"peerDependenciesMeta": {
"babel-loader": {
"optional": true
}
},
"engines": {
"node": ">=10.13.0"
},

View File

@ -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"
},

View File

@ -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:
@ -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
@ -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