9c37cdd0ac
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 4.5.0 to 5.0.0. - [Release notes](https://github.com/vitejs/vite/releases) - [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md) - [Commits](https://github.com/vitejs/vite/commits/create-vite@5.0.0/packages/vite) --- updated-dependencies: - dependency-name: vite dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
26 lines
620 B
TypeScript
26 lines
620 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",
|
|
},
|
|
plugins: [react(), checker({ typescript: true })],
|
|
test: {
|
|
setupFiles: "vitest.setup.ts",
|
|
watch: false,
|
|
deps: {
|
|
// Ensure '.mjs' files are used for '@patternfly/react-styles'.
|
|
inline: [/@patternfly\/react-styles/],
|
|
},
|
|
},
|
|
});
|