mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 16:12:12 +00:00
Generate bundles in dist/ if url given
This commit is contained in:
parent
a24522edad
commit
65a3ad5b08
@ -48,7 +48,7 @@ export default function () {
|
|||||||
var srcStaticPath = resolve(this.srcDir, 'static')
|
var srcStaticPath = resolve(this.srcDir, 'static')
|
||||||
var srcBuiltPath = resolve(this.dir, '.nuxt', 'dist')
|
var srcBuiltPath = resolve(this.dir, '.nuxt', 'dist')
|
||||||
var distPath = resolve(this.dir, this.options.generate.dir)
|
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 * () {
|
return co(function * () {
|
||||||
/*
|
/*
|
||||||
** Launch build process
|
** Launch build process
|
||||||
|
Loading…
Reference in New Issue
Block a user