Skip to content

Commit

Permalink
Merge pull request #18645 from benmccann/patch-3
Browse files Browse the repository at this point in the history
Svelte: Make `svelte-loader` optional dependency
  • Loading branch information
shilman committed Jul 26, 2022
1 parent 526266d commit 6232b79
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,11 @@
"svelte": "^3.1.0",
"svelte-loader": "*"
},
"peerDependenciesMeta": {
"svelte-loader": {
"optional": true
}
},
"engines": {
"node": ">=10.13.0"
},
Expand Down
3 changes: 3 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8931,6 +8931,9 @@ __metadata:
"@babel/core": "*"
svelte: ^3.1.0
svelte-loader: "*"
peerDependenciesMeta:
svelte-loader:
optional: true
bin:
build-storybook: ./bin/build.js
start-storybook: ./bin/index.js
Expand Down

0 comments on commit 6232b79

Please sign in to comment.