Closed
Description
Files written with lang='tsx' doesn't work since updated to 1.0.0 (and ts-loader updated to 7.0.5)
I checked, and ts-loader was working until 6.2.2
According to the ts-loader
document,
Or if you want to use only tsx, just use the appendTsxSuffixTo option only:
I found a workaround to disable appendTsSuffixTo
// nuxt.config.ts
export default {
modules: [
[
'@nuxt/typescript-build',
{
loaders: {
ts: { appendTsSuffixTo: [] },
},
},
],
..snip..
],
..snip..
}
Is there any other way?
Metadata
Metadata
Assignees
Labels
No labels