generated from tinacms/tina-cloud-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18 from AAStarCommunity/render_dev
Render dev
- Loading branch information
Showing
3 changed files
with
704 additions
and
501 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,6 @@ | ||
module.exports = { | ||
webpack(config) { | ||
config.module.rules.push({ | ||
test: /\.svg$/i, | ||
issuer: /\.[jt]sx?$/, | ||
use: ["@svgr/webpack"], | ||
}); | ||
|
||
return config; | ||
}, | ||
// async rewrites() { | ||
// return [ | ||
// { | ||
// source: "/", | ||
// destination: "/home", | ||
// }, | ||
// { | ||
// source: "/admin", | ||
// destination: "/admin/index.html", | ||
// }, | ||
// ]; | ||
// }, | ||
}; | ||
output : 'export', | ||
images :{ | ||
unoptimized: true, | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# services: | ||
# - type: web | ||
# name: next-js | ||
# runtime: node | ||
# plan: starter | ||
# buildCommand: yarn; yarn build | ||
# startCommand: yarn start | ||
# autoDeploy: false | ||
# envVars: | ||
# - key: NODE_ENV | ||
# value: production | ||
# Uncomment the following to deploy this app as a static site on render | ||
- type: web | ||
name: nextjs-static | ||
runtime: static | ||
buildCommand: yarn; yarn build | ||
staticPublishPath: out | ||
pullRequestPreviewsEnabled: true # optional | ||
envVars: | ||
- key: NODE_ENV | ||
value: production |
Oops, something went wrong.