I want to use JSX not TSX, gives loader not configured for this file type.
In webpack.config.base.js add jsx file extension it will work.
module: {
rules: [
{
test: /\.jsx?$/,
exclude: /node_modules/,
use: {
loader: 'babel-loader',
options: {
cacheDirectory: true,
},
},
},
{
test: /\.tsx?$/,
exclude: /node_modules/,
use: {
loader: 'babel-loader',
options: {
cacheDirectory: true,
},
},
},
],
},
...
Are there now plans to drop TypeScript for v3? I'm already struggling to re-implement Redux to v2. I'd hate to see this project lose TypeScript as well.
@NicolasNewman There aren't any plans to drop TS in v3
Most helpful comment
In webpack.config.base.js add jsx file extension it will work.