comparison vite.config.ts @ 0:d09d690419e0

start
author drewp@bigasterisk.com
date Sat, 18 Mar 2023 19:34:12 -0700
parents
children 045013c772ed
comparison
equal deleted inserted replaced
-1:000000000000 0:d09d690419e0
1 import { defineConfig } from "vite";
2
3 export default defineConfig({
4 base: "https://bigasterisk.com/front-door-display",
5 server: {
6 host: "0.0.0.0",
7 strictPort: true,
8 port: 8002,
9 hmr: { path: "vite-ws" },
10 fs: { allow: ["src", "node_modules", "."] },
11 },
12 build: {
13 assetsDir: "src",
14 target: "esnext",
15 lib: {
16 entry: "src/main.ts",
17 formats: ["es"],
18 },
19 rollupOptions: {
20 // input: { app: "src/index.html" },
21 external: /^lit/,
22 },
23 },
24 resolve: {
25 alias: [{ find: "rdf-canonize-native", replacement: "" }],
26 },
27 // define: {
28 // global: {},
29 // },
30 });