Nuxt/distributions/nuxt-start/package.js

24 lines
404 B
JavaScript
Raw Normal View History

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()
})
}
}