Skip to content

Commit f628661

Browse files
committed
Update build scripts and add netlify
1 parent ac8ecd2 commit f628661

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

apps/website/deploy.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/bash
2+
3+
npm install
4+
npm run build

apps/website/netlify.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[[headers]]
2+
for = "/*"
3+
[headers.values]
4+
Cross-Origin-Opener-Policy = "same-origin"
5+
Cross-Origin-Embedder-Policy = "require-corp"

apps/website/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"clean": "rm -rf docs/api",
99
"prestart": "npm run clean && npm run build:packages",
1010
"start": "docusaurus start",
11+
"prebuild": "npm run clean && npm run build:packages",
1112
"build": "docusaurus build",
1213
"swizzle": "docusaurus swizzle",
1314
"deploy": "docusaurus deploy",

0 commit comments

Comments
 (0)