Nuxt/test/fixtures/async-config/nuxt.config.js

15 lines
283 B
JavaScript
Raw Normal View History

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