Skip to content

Commit 5d0abd5

Browse files
committed
chore: add hmr html files to rollupOptions.input
1 parent f1a3953 commit 5d0abd5

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

playground/hmr/vite.config.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,18 @@ export default defineConfig({
1313
return false
1414
}
1515
},
16+
rollupOptions: {
17+
input: [
18+
path.resolve(import.meta.dirname, 'accept-exports/dynamic-imports/index.html'),
19+
path.resolve(import.meta.dirname, 'accept-exports/export-from/index.html'),
20+
path.resolve(import.meta.dirname, 'accept-exports/main-accepted/index.html'),
21+
path.resolve(import.meta.dirname, 'accept-exports/main-non-accepted/index.html'),
22+
path.resolve(import.meta.dirname, 'accept-exports/side-effects/index.html'),
23+
path.resolve(import.meta.dirname, 'accept-exports/star-imports/index.html'),
24+
path.resolve(import.meta.dirname, 'accept-exports/unused-exports/index.html'),
25+
path.resolve(import.meta.dirname, 'index.html'),
26+
]
27+
}
1628
},
1729
plugins: [
1830
{

0 commit comments

Comments
 (0)