Skip to content

Commit

Permalink
feat: add output standalone and .dockerignore
Browse files Browse the repository at this point in the history
  • Loading branch information
BatuhanW committed Dec 2, 2024
1 parent 36096c0 commit db4c8dd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions refine-nextjs/template/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.git
**/node_modules/
**/dist
.git
npm-debug.log
.coverage
.coverage.*
.env
.aws
1 change: 1 addition & 0 deletions refine-nextjs/template/next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ const nextConfig = {
<%_ if (answers["ui-framework"] === 'antd') { _%>
transpilePackages: ['@refinedev/antd'],
<%_ } _%>
output: "standalone"
};

export default nextConfig;

0 comments on commit db4c8dd

Please sign in to comment.