mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-18 03:35:17 +00:00
24 lines
404 B
JavaScript
24 lines
404 B
JavaScript
|
export default {
|
||
|
build: true,
|
||
|
extend(pkg, { load }) {
|
||
|
pkg.on('build:done', () => {
|
||
|
const mono = load('../..')
|
||
|
const nuxt = load('../nuxt')
|
||
|
|
||
|
pkg.copyFilesFrom(mono, [
|
||
|
'LICENSE'
|
||
|
])
|
||
|
|
||
|
pkg.copyFieldsFrom(nuxt, [
|
||
|
'license',
|
||
|
'repository',
|
||
|
'contributors',
|
||
|
'keywords',
|
||
|
'engines'
|
||
|
])
|
||
|
|
||
|
pkg.writePackage()
|
||
|
})
|
||
|
}
|
||
|
}
|