Nuxt/distributions/nuxt-legacy/package.js
Pooya Parsa 9c1e0d1743 feat: migrate nuxt into monorepo (#4051)
Co-authored-by: Clark Du <clark.duxin@gmail.com>
Co-authored-by: Pooya Parsa <pooya@pi0.ir>
2018-10-18 00:58:25 +03:30

24 lines
408 B
JavaScript

export default {
build: false,
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',
'collective'
])
pkg.writePackage()
})
}
}