Skip to content

Commit

Permalink
feat(nuxt3): netlify edge
Browse files Browse the repository at this point in the history
  • Loading branch information
LarchLiu committed May 20, 2023
1 parent 52ec5a8 commit 9b6c666
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 2 additions & 3 deletions server/nuxt3/netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@

[build]
publish = "dist"
command = "pnpm run build:turbo"
command = "pnpm run build:netlify"

[functions]
directory = "server/"
included_files = ["api/**"]
directory = ".netlify/edge-functions/"
1 change: 1 addition & 0 deletions server/nuxt3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"scripts": {
"build": "nuxi build",
"build:turbo": "turbo run build --filter=@server/nuxt3...",
"build:netlify": "NITRO_PRESET=netlify-edge turbo run build --filter=@server/nuxt3...",
"dev": "nuxi dev",
"dev:pwa": "VITE_PLUGIN_PWA=true nuxi dev",
"start": "node .output/server/index.mjs",
Expand Down

1 comment on commit 9b6c666

@vercel
Copy link

@vercel vercel bot commented on 9b6c666 May 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

star-nexus – ./

star-nexus-larchliu.vercel.app
star-nexus.vercel.app
star-nexus-git-main-larchliu.vercel.app

Please sign in to comment.