Skip to content

Commit

Permalink
Improve build script
Browse files Browse the repository at this point in the history
  • Loading branch information
rtivital committed Nov 21, 2023
1 parent 82f878b commit ccb01a3
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion CNAME

This file was deleted.

1 change: 1 addition & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ const withBundleAnalyzer = require('@next/bundle-analyzer')({
module.exports = withBundleAnalyzer({
reactStrictMode: false,
trailingSlash: true,
output: 'export',
eslint: {
ignoreDuringBuilds: true,
},
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@
"scripts": {
"dev": "next dev --port 1764",
"analyze": "ANALYZE=true next build",
"build": "next build && next export && cp -R ./CNAME ./out/CNAME && touch out/.nojekyll",
"build": "next build && echo "ui.mantine.dev" > out/CNAME && touch out/.nojekyll",
"deploy": "npm run build && gh-pages -d out -t true",
"start": "next start",
"export": "next build && next export",
"typecheck": "tsc --noEmit",
"lint": "next lint",
"prettier:check": "prettier --check \"**/*.{ts,tsx}\"",
Expand Down

0 comments on commit ccb01a3

Please sign in to comment.