Nuxt/distributions/nuxt/package.js

14 lines
218 B
JavaScript

export default {
build: true,
extend(pkg, { load }) {
pkg.on('build:done', () => {
const mono = load('../..')
pkg.copyFilesFrom(mono, [
'LICENSE',
'README.md'
])
})
}
}