Skip to content
This repository was archived by the owner on Jun 20, 2022. It is now read-only.

Commit a2866ee

Browse files
committed
chore: fix build
1 parent 0262a1c commit a2866ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rollup.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const OUT_DIR = path.resolve(__dirname, 'build')
1111

1212
const baseConfig = {
1313
input: `${SOURCE_DIR}/index.js`,
14-
external: ['react', 'styled-components'],
14+
external: Object.keys(pkg.peerDependencies),
1515
plugins: [babel({ exclude: '**/node_modules/**' })],
1616
}
1717

0 commit comments

Comments
 (0)