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

12 lines
266 B
JavaScript
Raw Normal View History

export default {
2018-10-24 13:46:06 +00:00
test: true,
hooks (hook) {
hook('build:done', () => {
2018-08-12 12:39:43 +00:00
process.stdout.write('Compiled successfully')
})
hook('listen', (server, { port, host }) => {
2018-08-12 12:39:43 +00:00
process.stdout.write(`Listening on http://${host}:${port}`)
})
}
}