Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
Signed-off-by: gpbl <io@gpbl.dev>
  • Loading branch information
gpbl committed Mar 2, 2024
1 parent fff487b commit 5062f56
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
},
"scripts": {
"prepublish": "pnpm build",
"build-website": "pnpm run build && pnpm --filter website run build",
"build-website": "pnpm run build && pnpm --filter website run build && rm -rf website/build/cache",
"build:cjs": "tsc --project tsconfig-cjs.json",
"build-typedoc-theme": "rm -rf ./typedoc-theme/dist && tsc -p ./typedoc-theme/tsconfig.json && cp -R ./typedoc-theme/src/resources ./typedoc-theme/dist",
"build:esm": "tsc --project tsconfig-esm.json",
Expand Down
1 change: 0 additions & 1 deletion pnpm-workspace.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
packages:
- "."
- "typedoc"
- "react-day-picker"
- "website"
3 changes: 2 additions & 1 deletion website/next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
const nextConfig = {
pageExtensions: ["js", "jsx", "mdx", "ts", "tsx"],
reactStrictMode: true,
output: "standalone",
distDir: "build",
cleanDistDir: true,
};

export default nextConfig;
2 changes: 1 addition & 1 deletion website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": true,
"scripts": {
"dev": "next dev --port 2001",
"build": "pnpm --filter . run build && next build",
"build": "next build",
"start": "next start --port 2000",
"lint": "next lint"
},
Expand Down

0 comments on commit 5062f56

Please sign in to comment.