Skip to content

Commit

Permalink
chore: configured project to deploy edge demo site
Browse files Browse the repository at this point in the history
  • Loading branch information
nickytonline committed Jan 27, 2023
1 parent 959a30b commit a58e06e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[build]
base = "packages/edge-demo-site"
2 changes: 1 addition & 1 deletion packages/edge-demo-site/netlify.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build]
command = "remix build"
command = "npm run build"
publish = "public"

[[headers]]
Expand Down
1 change: 1 addition & 0 deletions packages/edge-demo-site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"description": "Demo site to test the Netlify Remix server adapter",
"main": "index.js",
"scripts": {
"prebuild": "cd ../../ && npm run compile -w=packages/remix-server-runtime && npm run compile -w=packages/remix-adapter",
"build": "remix build",
"dev": "remix dev",
"start": "cross-env NODE_ENV=production netlify dev",
Expand Down

0 comments on commit a58e06e

Please sign in to comment.