mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-12 11:48:17 +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)
|
return Promise.all(promises)
|
||||||
})
|
})
|
||||||
.then((pages) => {
|
.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')
|
debug('HTML Files generated')
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user