colorer/vite.config.ts
Rüdiger Diedrich bcd99f0181 v0.1 – the colorer
frontend: nice, sleek, functional and completely intuitive UI
internal: flat hierarchies; opinoinated reactivity
2021-08-20 09:41:00 +02:00

18 lines
426 B
TypeScript

import { defineConfig } from "vite";
import * as path from "path";
import solidPlugin from "vite-plugin-solid";
export default defineConfig({
resolve: {
alias: {
'/@lib': path.resolve(__dirname, './src/components'),
'/@': path.resolve(__dirname, './src')
}
},
plugins: [solidPlugin()],
build: {
target: "esnext",
polyfillDynamicImport: false,
}
});