Files
Niklas Mischkulnig 9640adcc3c Detect module type for webpack loaders and not hardcode JS (#68930)
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
2024-08-16 09:47:48 +02:00

8 lines
146 B
TypeScript

export default function Root({ children }: { children: React.ReactNode }) {
return (
<html>
<body>{children}</body>
</html>
)
}