Nuxt/test/fixtures/cli/cli.build.config.js

18 lines
328 B
JavaScript
Raw Normal View History

import consola from 'consola'
export default {
2018-10-24 13:46:06 +00:00
test: true,
mode: 'spa',
hooks (hook) {
hook('build:done', () => {
consola.log('Compiled successfully')
})
hook('listen', (server, { port, host }) => {
consola.log(`Listening on http://${host}:${port}`)
})
},
build: {
terser: false
}
}