mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-24 06:35:10 +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
|
|
}
|
|
}
|