Nuxt/distributions/nuxt/package.js
pooya parsa dec8f99fc3
feat: support plug-and-play, typescript runtime and native modules (#8389)
Co-authored-by: Clark Du <clark.duxin@gmail.com>
2020-12-22 18:07:50 +01:00

22 lines
390 B
JavaScript

export default {
build: true,
hooks: {
async 'build:done' (pkg) {
const mono = pkg.load('../..')
await pkg.copyFilesFrom(mono, [
'LICENSE',
'README.md'
])
}
},
ignoreUnused: [
// used by postinstall
'@nuxt/opencollective',
// discovered by config
'@nuxt/components',
'@nuxt/loading-screen',
'@nuxt/telemetry'
]
}