mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-26 07:32:01 +00:00
parent
a8707469f8
commit
abb21f30ca
@ -34,7 +34,7 @@ export async function bundle (nuxt: Nuxt) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
await mkdirp(nuxt.options.buildDir)
|
await mkdirp(nuxt.options.buildDir)
|
||||||
const { dependencies = {}, devDependencies = {} } = createRequire(nuxt.options.rootDir)('package.json')
|
const { dependencies = {}, devDependencies = {} } = createRequire(nuxt.options.rootDir)('./package.json')
|
||||||
await writeFile(resolve(nuxt.options.buildDir, 'package.json'), JSON.stringify({
|
await writeFile(resolve(nuxt.options.buildDir, 'package.json'), JSON.stringify({
|
||||||
private: true,
|
private: true,
|
||||||
description: 'auto generated',
|
description: 'auto generated',
|
||||||
|
Loading…
Reference in New Issue
Block a user