Skip to content

Commit

Permalink
fix next build
Browse files Browse the repository at this point in the history
  • Loading branch information
Hurtak committed Nov 16, 2023
1 parent c487353 commit d682513
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ const projectRoot = __dirname;
* @type {import('next').NextConfig}
*/
const config = {
output: 'export',
distDir: 'dist',

reactStrictMode: true,

experimental: {
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
"license": "MIT",
"scripts": {
"dev": "next dev",
"build": "next build && next export -o dist",
"build": "next build",
"test": "vitest run",
"test:watch": "vitest watch",
"type-check": "tsc --noEmit -p tsconfig.next.json && tsc --noEmit -p tsconfig.test.json",
"lint": "eslint --ext .js,.jsx,.ts,.tsx .",
"lint:fix": "eslint --ext .js,.jsx,.ts,.tsx --fix .",
"prettier": "prettier --ignore-path .gitignore --check .",
"prettier:fix": "prettier --ignore-path .gitignore --write .",
"validate": "npm run test && npm run type-check && npm run lint && npm run prettier"
"validate": "npm run test && npm run type-check && npm run lint && npm run prettier && npm run build"
},
"dependencies": {
"@types/node": "20.9.0",
Expand Down

0 comments on commit d682513

Please sign in to comment.