chore: allow top-level await

This commit is contained in:
Anthony Fu 2022-11-23 07:27:01 +08:00
parent a6578155ae
commit f3a0a5af3f

View file

@ -25,6 +25,9 @@ export default defineNuxtConfig({
define: {
__BUILD_TIME__: JSON.stringify(new Date().toISOString()),
},
build: {
target: 'esnext',
},
},
postcss: {
plugins: {