mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
For e.g. TS-to-TS Webpack transforms, don't use `as: "*.tsx"` for now.
That should ideally also work, but there is still an unrelated bug
causing that to fail.
This definitely works for now (and just retains the module type detected
by Turbopack):
```js
module.exports = {
experimental: {
turbo: {
rules: {
"*.ts": {
loaders: ["./my-loader.js"],
}
}
}
}
};
```
This came up in https://x.com/aidenybai/status/1823615893903171645
@aidenybai
Closes PACK-3194
2 lines
23 B
TypeScript
2 lines
23 B
TypeScript
export default 'wrong'
|