You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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