Rename entrypoint to main.ts. Tweak text contrast
This commit is contained in:
@@ -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: [
|
||||
|
||||
Reference in New Issue
Block a user