mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-13 17:43:59 +00:00
15 lines
283 B
JavaScript
15 lines
283 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!'
|
|
}
|
|
}
|
|
}
|
|
|
|
export default createData
|