mirror of
https://github.com/carloscuesta/gitmoji.git
synced 2025-12-08 20:14:12 +00:00
🐛 Fix build static outputs (#1236)
This commit is contained in:
parent
6292bdb5d3
commit
f5ee831dc9
16
.gitignore
vendored
16
.gitignore
vendored
@ -16,13 +16,13 @@ coverage/
|
||||
!.yarn/versions
|
||||
|
||||
# next-pwa
|
||||
public/workbox-*.js
|
||||
public/workbox-*.js
|
||||
public/sw.js
|
||||
public/sw.js
|
||||
public/*.map
|
||||
packages/website/public/workbox-*.js
|
||||
packages/website/public/workbox-*.js
|
||||
packages/website/public/sw.js
|
||||
packages/website/public/sw.js
|
||||
packages/website/public/*.map
|
||||
|
||||
# next-sitemap
|
||||
public/robots.txt
|
||||
public/sitemap.xml
|
||||
public/sitemap.xml
|
||||
packages/website/public/robots.txt
|
||||
packages/website/public/sitemap.xml
|
||||
packages/website/public/sitemap-*.xml
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
const withPWA = require('next-pwa')({
|
||||
disable: process.env.NODE_ENV === 'development',
|
||||
dest: 'public',
|
||||
dest: './public',
|
||||
})
|
||||
|
||||
module.exports = withPWA({
|
||||
|
||||
@ -6,11 +6,10 @@
|
||||
"node": "16"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "next build",
|
||||
"build": "next build && next-sitemap",
|
||||
"dev": "next dev",
|
||||
"flow": "flow",
|
||||
"lint": "eslint ./src && prettier --check ./src/**/*.{js,css}",
|
||||
"postbuild": "next-sitemap",
|
||||
"start": "next start",
|
||||
"test": "FORCE_COLOR=1 jest --coverage"
|
||||
},
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
"outputs": ["coverage/**"]
|
||||
},
|
||||
"build": {
|
||||
"outputs": [".next/**"]
|
||||
"outputs": ["packages/website/.next/**", "packages/website/public/**"]
|
||||
},
|
||||
"publishPackage": {
|
||||
"outputs": []
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user