Skip to content

Commit de43d73

Browse files
committed
Move demo build dir to where integration tests expect them
1 parent 8d5e426 commit de43d73

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/webamp/scripts/rollupPlugins.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export function getPlugins({ minify, outputFile, vite }) {
3131
compilerOptions: {
3232
jsx: "react-jsx",
3333
module: "esnext",
34-
declarationDir: vite ? "dist/declarations" : undefined,
34+
declarationDir: vite ? "dist/demo-site/declarations" : undefined,
3535
// Without this it complains that files will be overwritten, but I don't
3636
// think this ever gets used...
3737
outDir: vite ? undefined : "./tsBuilt",

packages/webamp/vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { getPlugins } from "./scripts/rollupPlugins.mjs";
33

44
export default defineConfig({
55
build: {
6-
outDir: "../dist",
6+
outDir: "../dist/demo-site",
77
},
88
root: "demo",
99
// Used only by the demo site, not the library

0 commit comments

Comments
 (0)