Skip to content

Commit

Permalink
fix: external peerDependencies (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
hannoeru authored Dec 10, 2021
1 parent 03d7056 commit ba82fcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export async function build (rootDir: string, stub: boolean, inputConfig: BuildC

// Infer dependencies from pkg
options.dependencies = Object.keys(pkg.dependencies || {})
options.peerDependencies = Object.keys(pkg.dependencies || {})
options.peerDependencies = Object.keys(pkg.peerDependencies || {})
options.devDependencies = Object.keys(pkg.devDependencies || {})

// Add all dependencies as externals
Expand Down

0 comments on commit ba82fcb

Please sign in to comment.