Nuxt/test/fixtures/cli/cli.build.config.js
2018-10-24 17:16:06 +03:30

12 lines
265 B
JavaScript

export default {
test: true,
hooks(hook) {
hook('build:done', () => {
process.stdout.write('Compiled successfully')
})
hook('listen', (server, { port, host }) => {
process.stdout.write(`Listening on http://${host}:${port}`)
})
}
}