Show how to add a map view through typescript

This commit is contained in:
Eli Ribble 2026-03-21 18:13:40 +00:00
parent 0126d24242
commit 1e67c0090d
No known key found for this signature in database
7 changed files with 254 additions and 5 deletions

View file

@ -9,7 +9,6 @@ const config = {
entryPoints: ["ts/main.ts"],
bundle: true,
format: "esm",
outfile: "static/gen/js/bundle.js",
plugins: [vue()],
define: {
__VUE_OPTIONS_API__: "true",
@ -17,6 +16,12 @@ const config = {
__VUE_PROD_HYDRATION_MISMATCH_DETAILS__: "false",
},
minify,
loader: {
".css": "css",
},
outdir: "static/gen",
outbase: "ts",
assetNames: "css/[name]",
};
if (watch) {