mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-22 17:47:16 +00:00
Move demo build dir to where integration tests expect them
This commit is contained in:
parent
8d5e426d89
commit
de43d73582
2 changed files with 2 additions and 2 deletions
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue