Skip to content

Commit 28a6cb7

Browse files
stee-reca-d
authored andcommitted
fix: rollup bundle should include json assets - part deux
1 parent 64f057c commit 28a6cb7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

rollup.config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ export default [
4040
}),
4141
nodeResolve(),
4242
typescript(demoTsconfig),
43+
/** Bundle assets references via import.meta.url */
44+
importMetaAssets(),
4345
],
4446
output: {
4547
dir: 'dist/demo',

0 commit comments

Comments
 (0)