UNPKG

@qwik.dev/core

Version:

An open source framework for building instant loading web apps at any scale, without the extra effort.

14 lines (12 loc) 423 B
/** * This is the base config for vite. * When building, the adapter config is used which loads this file and extends it. */ import { qwikVite } from "@qwik.dev/core/optimizer"; import { defineConfig, type UserConfig } from "vite"; import tsconfigPaths from "vite-tsconfig-paths"; export default defineConfig((): UserConfig => { return { plugins: [qwikVite({ csr: true }), tsconfigPaths({ root: "." })], }; });