Rename entrypoint to main.ts. Tweak text contrast

This commit is contained in:
2026-10-02 13:53:53 +02:00
parent 41c0481380
commit 9a7ed0a347
13 changed files with 19 additions and 27 deletions

View File

@@ -20,10 +20,10 @@ export default defineConfig({
// Compile newer syntax down to what browsers from September 2021 support
target: ["chrome94", "edge94", "firefox91", "safari15"],
rollupOptions: {
input: "src/wrap.js",
input: "src/main.ts",
// The entrypoint keeps its name so the HTML template can find it,
// the chunks it imports get a hash in their names
output: { entryFileNames: "wrap.js" },
output: { entryFileNames: "main.js" },
},
},
plugins: [