Skip to content

Commit 0532ff4

Browse files
chore(nextjs-shadcn): add netlify nextjs plugin (#96)
1 parent 84e190f commit 0532ff4

File tree

4 files changed

+17
-1
lines changed

4 files changed

+17
-1
lines changed

nextjs-shadcn/netlify.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[build]
2+
command = "npx next build"
3+
publish = ".next"
4+
5+
[[plugins]]
6+
package = "@netlify/plugin-nextjs"

nextjs-shadcn/next.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
/** @type {import('next').NextConfig} */
22
const nextConfig = {
3-
output: 'export',
43
eslint: {
54
ignoreDuringBuilds: true,
65
},

nextjs-shadcn/package-lock.json

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

nextjs-shadcn/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
},
1212
"dependencies": {
1313
"@hookform/resolvers": "^3.9.0",
14+
"@netlify/plugin-nextjs": "^5.15.1",
1415
"@next/swc-wasm-nodejs": "13.5.1",
1516
"@radix-ui/react-accordion": "^1.2.0",
1617
"@radix-ui/react-alert-dialog": "^1.1.1",

0 commit comments

Comments
 (0)