Skip to content

Commit bdd816a

Browse files
Set external modules in rollup.config.js
1 parent 9bf70cd commit bdd816a

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

rollup.config.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ export default [
66
output: {
77
file: pkg.module,
88
format: 'es'
9-
}
9+
},
10+
external: [
11+
'https://cdn.skypack.dev/hybrids@6',
12+
'https://cdn.skypack.dev/d3-scale@4',
13+
'https://cdn.skypack.dev/d3-shape@3',
14+
'https://cdn.skypack.dev/d3-array@3'
15+
]
1016
},
1117
];

0 commit comments

Comments
 (0)