refactor: move HTML files to src/, use vite HTML entry points

- Move welcome.html to src/
- Use vite HTML inputs instead of static copy for offscreen.html and welcome.html
- Source HTML references .ts, vite transforms to .js
- Update paths in background.ts to src/
This commit is contained in:
Tommy D. Rossi
2026-01-23 17:19:14 +01:00
parent c9768965b5
commit b52928cc90
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -54,8 +54,8 @@ export default defineConfig({
rollupOptions: {
input: {
background: resolve(__dirname, 'src/background.ts'),
welcome: resolve(__dirname, 'src/welcome.html'),
offscreen: resolve(__dirname, 'src/offscreen.html'),
welcome: resolve(__dirname, 'src/welcome.html'),
},
output: {
entryFileNames: (chunkInfo) => {