Skip to content

Commit d699f77

Browse files
committed
Fix bundling
1 parent e6022af commit d699f77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/bundle.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ async function build() {
1515
name: 'replace',
1616
setup({ onLoad }) {
1717
onLoad({ filter: genModulesFilter }, args => ({
18-
contents: genModules[args.path]
18+
contents: genModules[path.basename(args.path)]
1919
}));
2020
}
2121
}];

0 commit comments

Comments
 (0)