Don't know how to set the option
highhi opened this issue · comments
I would like to enable transpileOnly, but I don't know how to set it up. Where should I put this in nuxt.config
?
loaders: {
ts: {
transpileOnly: true,
appendTsSuffixTo: [/\.vue$/],
},
},
https://typescript.nuxtjs.org/ja/guide/setup#loaders
nuxt: v2.15.8
@nuxt/typescript-build: v2.1.0
I believe you are looking for the build
property:
https://nuxtjs.org/docs/configuration-glossary/configuration-build/
It's a module configuration option. See #579 for how it should look until documentation is updated.