mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-31 07:40:33 +00:00
Add .nojekyll file for gh-pages
This commit is contained in:
parent
d1920860c0
commit
cbba9d0631
@ -103,6 +103,12 @@ module.exports = function () {
|
||||
return Promise.all(promises)
|
||||
})
|
||||
.then((pages) => {
|
||||
// Add .nojekyll file to let Github Pages add the _nuxt/ folder
|
||||
// https://help.github.com/articles/files-that-start-with-an-underscore-are-missing/
|
||||
const nojekyllPath = resolve(distPath, '.nojekyll')
|
||||
return writeFile(nojekyllPath)
|
||||
})
|
||||
.then(() => {
|
||||
debug('HTML Files generated')
|
||||
})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user