From 65a3ad5b08778dd360d22215b32b9ffab54eb689 Mon Sep 17 00:00:00 2001 From: Sebastien Chopin Date: Tue, 25 Apr 2017 11:17:12 +0200 Subject: [PATCH] Generate bundles in dist/ if url given --- lib/generate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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