diff --git a/lib/generate.js b/lib/generate.js index eef9681037..b254fee33b 100644 --- a/lib/generate.js +++ b/lib/generate.js @@ -48,7 +48,7 @@ export default function () { var srcStaticPath = resolve(this.srcDir, 'static') var srcBuiltPath = resolve(this.dir, '.nuxt', 'dist') var distPath = resolve(this.dir, this.options.generate.dir) - var distNuxtPath = join(distPath, (isUrl(this.options.build.publicPath) ? '_nuxt' : this.options.build.publicPath)) + var distNuxtPath = join(distPath, (isUrl(this.options.build.publicPath) ? '' : this.options.build.publicPath)) return co(function * () { /* ** Launch build process