mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 16:12:12 +00:00
ESLint
This commit is contained in:
parent
40a167258b
commit
ef6f0da146
@ -88,7 +88,6 @@ export default async function () {
|
|||||||
})
|
})
|
||||||
let n = 0
|
let n = 0
|
||||||
for (let route of this.routes) {
|
for (let route of this.routes) {
|
||||||
|
|
||||||
await waitFor(n++ * self.options.generate.interval)
|
await waitFor(n++ * self.options.generate.interval)
|
||||||
try {
|
try {
|
||||||
var { html, error } = await self.renderRoute(route, { _generate: true })
|
var { html, error } = await self.renderRoute(route, { _generate: true })
|
||||||
@ -117,7 +116,6 @@ export default async function () {
|
|||||||
// https://help.github.com/articles/files-that-start-with-an-underscore-are-missing/
|
// https://help.github.com/articles/files-that-start-with-an-underscore-are-missing/
|
||||||
const nojekyllPath = resolve(distPath, '.nojekyll')
|
const nojekyllPath = resolve(distPath, '.nojekyll')
|
||||||
writeFile(nojekyllPath, '')
|
writeFile(nojekyllPath, '')
|
||||||
|
|
||||||
const duration = Math.round((Date.now() - s) / 100) / 10
|
const duration = Math.round((Date.now() - s) / 100) / 10
|
||||||
debug(`HTML Files generated in ${duration}s`)
|
debug(`HTML Files generated in ${duration}s`)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user