Skip to content

Commit 0172ea8

Browse files
committed
fix: move ESM packages to devDependencies to fix macOS build
the macOS universal binary build was failing with "pattern is too long" from minimatch during ASAR merge. the ESM packages and their transitive deps had long file paths exceeding minimatch's limit. since these packages are bundled into esm-bundle.cjs at build time, they don't need to be in runtime dependencies. moving them to devDependencies reduces the packaged node_modules from 1237 to 1130 packages. also inlines p-defer (was a transitive dep) to avoid adding a new runtime dependency.
1 parent ae22d72 commit 0172ea8

4 files changed

Lines changed: 6248 additions & 17497 deletions

File tree

.npmrc

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

0 commit comments

Comments
 (0)