Home > @lynx-js/react-webpack-plugin > ReactWebpackPlugin > loaders
The loaders for ReactLynx.
Signature:
Note that this loader will only transform JSX/TSX to valid JavaScript. For .tsx
files, the type annotations would not be eliminated. You should use babel-loader
or swc-loader
to load TypeScript files.