mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-30 09:27:13 +00:00
16 lines
305 B
JavaScript
16 lines
305 B
JavaScript
const createData = async () => {
|
|
await new Promise(resolve => setTimeout(resolve, 500))
|
|
return {
|
|
build: {
|
|
// without terser enabled the size-limit unit test fails
|
|
terser: true
|
|
},
|
|
head: {
|
|
title: 'Async Config!'
|
|
},
|
|
modern: 'server'
|
|
}
|
|
}
|
|
|
|
export default createData
|