Move demo build dir to where integration tests expect them

This commit is contained in:
Jordan Eldredge 2024-06-22 17:04:05 -07:00
parent 8d5e426d89
commit de43d73582
2 changed files with 2 additions and 2 deletions

View file

@ -31,7 +31,7 @@ export function getPlugins({ minify, outputFile, vite }) {
compilerOptions: {
jsx: "react-jsx",
module: "esnext",
declarationDir: vite ? "dist/declarations" : undefined,
declarationDir: vite ? "dist/demo-site/declarations" : undefined,
// Without this it complains that files will be overwritten, but I don't
// think this ever gets used...
outDir: vite ? undefined : "./tsBuilt",

View file

@ -3,7 +3,7 @@ import { getPlugins } from "./scripts/rollupPlugins.mjs";
export default defineConfig({
build: {
outDir: "../dist",
outDir: "../dist/demo-site",
},
root: "demo",
// Used only by the demo site, not the library