mirror of
https://github.com/nuxt/nuxt.git
synced 2024-12-04 19:37:18 +00:00
18 lines
328 B
JavaScript
18 lines
328 B
JavaScript
import consola from 'consola'
|
|
|
|
export default {
|
|
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
|
|
}
|
|
}
|