Skip to content

Commit b0aca6b

Browse files
committed
fix: importMetaAssets needed in both bundle configs
1 parent b750dc2 commit b0aca6b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

rollup.config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,13 @@ export default [
4242
input: 'demo/index.html',
4343
minify: true,
4444
}),
45+
/** Resolve bare module imports */
4546
nodeResolve(),
47+
4648
typescript(demoTsconfig),
49+
50+
/** Bundle assets references via import.meta.url */
51+
importMetaAssets(),
4752
],
4853
output: {
4954
dir: 'dist/demo',

0 commit comments

Comments
 (0)