This repository was archived by the owner on Apr 8, 2020. It is now read-only.
This repository was archived by the owner on Apr 8, 2020. It is now read-only.
tsx - Babel loader in webpack.config.js #698
Closed
Description
Hello, I was having issues with this { test: /\.ts(x?)$/, include: /ClientApp/, use: 'babel-loader' },
in your webpack.config.js (It used to display errors when building minif. production files.).
I change it to { test: /\.js(x?)$/, include: /ClientApp/, use: 'babel-loader' },
and now it's working properly.
Shouldn't it be .js(x?)$: { test: /\.js(x?)$/, include: /ClientApp/, use: 'babel-loader' },
when we are using babel-loader instead of tsx?
Hope it makes sense.
Thank you
Metadata
Metadata
Assignees
Labels
No labels