8e8ff33b1f
Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) from 1.1.1 to 1.1.3. - [Release notes](https://github.com/vitest-dev/vitest/releases) - [Commits](https://github.com/vitest-dev/vitest/commits/v1.1.3/packages/vitest) --- updated-dependencies: - dependency-name: vitest dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
24 lines
540 B
TypeScript
24 lines
540 B
TypeScript
import { defineConfig } from "vitest/config";
|
|
import react from "@vitejs/plugin-react-swc";
|
|
import { checker } from "vite-plugin-checker";
|
|
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
base: "",
|
|
server: {
|
|
port: 8080,
|
|
},
|
|
build: {
|
|
sourcemap: true,
|
|
target: "esnext",
|
|
modulePreload: false,
|
|
cssMinify: "lightningcss",
|
|
rollupOptions: {
|
|
external: ["react", "react/jsx-runtime", "react-dom"],
|
|
},
|
|
},
|
|
plugins: [react(), checker({ typescript: true })],
|
|
test: {
|
|
watch: false,
|
|
},
|
|
});
|