mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 05:35:13 +00:00
parent
a8707469f8
commit
abb21f30ca
@ -34,7 +34,7 @@ export async function bundle (nuxt: Nuxt) {
|
||||
}
|
||||
|
||||
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({
|
||||
private: true,
|
||||
description: 'auto generated',
|
||||
|
Loading…
Reference in New Issue
Block a user