mirror of
https://github.com/perfect-panel/ppanel-web.git
synced 2026-02-06 03:30:25 -05:00
✨ feat(netlify): Add Netlify configuration for admin and user apps with Next.js plugin
This commit is contained in:
parent
7f3cac3c1c
commit
b4d4f59c71
8
apps/admin/netlify.toml
Normal file
8
apps/admin/netlify.toml
Normal file
@ -0,0 +1,8 @@
|
||||
[build]
|
||||
command = "bun run build --filter=ppanel-admin-web"
|
||||
publish = "./apps/admin/.next/"
|
||||
[build.environment]
|
||||
NODE_OPTIONS = "--max-old-space-size=8192"
|
||||
|
||||
[[plugins]]
|
||||
package = "@netlify/plugin-nextjs"
|
||||
8
apps/user/netlify.toml
Normal file
8
apps/user/netlify.toml
Normal file
@ -0,0 +1,8 @@
|
||||
[build]
|
||||
command = "bun run build --filter=ppanel-user-web"
|
||||
publish = "./apps/user/.next/"
|
||||
[build.environment]
|
||||
NODE_OPTIONS = "--max-old-space-size=8192"
|
||||
|
||||
[[plugins]]
|
||||
package = "@netlify/plugin-nextjs"
|
||||
@ -48,6 +48,7 @@
|
||||
},
|
||||
"prettier": "@workspace/prettier-config",
|
||||
"devDependencies": {
|
||||
"@netlify/plugin-nextjs": "^5.11.6",
|
||||
"@umijs/openapi": "^1.13.0",
|
||||
"@workspace/commitlint-config": "workspace:*",
|
||||
"@workspace/eslint-config": "workspace:*",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user