Closed iagobruno closed 6 years ago
Need to tell Webpack to look for that extension.
In the resolve settings, add jsx
to extensions array
module.exports = {
//...
resolve: {
extensions: ['.wasm', '.mjs', '.js', '.json', '.jsx']
}
};
Thanks man!
How do I make the plugin also look for a ".jsx" file if there is no "js" file?
Example:
I'm trying to use the "transformFn" option but to no avail. Can you help me?