Skip to content

Commit 426a04b

Browse files
committed
build: external deps
1 parent 3ce70f0 commit 426a04b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

rollup.config.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,11 @@ import builtins from 'builtin-modules'
55
import pkg from './package.json'
66
const input = 'src/index.ts'
77
const sourcemap = true
8-
const external = builtins.concat(Object.keys(pkg.devDependencies), Object.keys(pkg.peerDependencies))
8+
const external = builtins.concat(
9+
Object.keys(pkg.devDependencies),
10+
Object.keys(pkg.dependencies),
11+
Object.keys(pkg.peerDependencies)
12+
)
913
const tsOptions = {
1014
tsconfig: cfg => ({ ...cfg, removeComments: true })
1115
}

0 commit comments

Comments
 (0)