Nuxt/test/fixtures/cli/cli.build.config.js
2018-07-25 09:00:21 +01:00

13 lines
272 B
JavaScript

import consola from 'consola'
export default {
hooks(hook) {
hook('build:done', () => {
consola.success('Compiled successfully')
})
hook('listen', (server, { port, host }) => {
consola.success(`Listening on http://${host}:${port}`)
})
}
}