Skip to content

Commit 3eafd11

Browse files
committed
fix: Add .npmrc for legacy-peer-deps support
1 parent c02823b commit 3eafd11

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
legacy-peer-deps=true

netlify.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[build]
2-
command = "npm install --legacy-peer-deps"
2+
command = "npm run postinstall"
33
publish = "."
44

55
[[redirects]]

0 commit comments

Comments
 (0)