Skip to content

Commit

Permalink
Merge pull request #73 from globalprivacycontrol/dharb/next-export
Browse files Browse the repository at this point in the history
Move next export to next.config.js
  • Loading branch information
dharb authored May 14, 2024
2 parents 3a70c1a + 536fea5 commit aeb5e5b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@ module.exports = {
},
crossOrigin: 'anonymous',
basePath: isProd ? GH_PAGES_PREFIX : '',
assetPrefix: isProd ? GH_PAGES_PREFIX : ''
assetPrefix: isProd ? GH_PAGES_PREFIX : '',
output: 'export'
};
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"license": "CC BY 4.0",
"scripts": {
"dev": "next dev",
"build": "next build && next export",
"build": "next build",
"postbuild": "next-sitemap",
"start": "next start",
"lint": "next lint",
Expand Down

0 comments on commit aeb5e5b

Please sign in to comment.