Nuxt/distributions/nuxt/package.js

30 lines
561 B
JavaScript
Raw Normal View History

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',
2020-12-22 22:06:08 +00:00
'@nuxt/telemetry',
// Distro
'@nuxt/babel-preset-app',
'@nuxt/config',
'@nuxt/server',
'@nuxt/utils',
'@nuxt/vue-app',
'@nuxt/vue-renderer',
'@nuxt/webpack'
]
}