Closed pdemro closed 5 years ago
Very simple fix for this bug is to add *.ts files to the webpack config
{
test: /\.ts$/,
exclude: /node_modules/,
loaders: [
'react-hot-loader',
//'ts-loader'
'ts-loader?' + JSON.stringify({ignoreDiagnostics:[2345, 2307]})
]
}
Description
*.ts Files do not transpile/webpack by default.
Error Message & Stack Trace
Config
Environment
Tell us which operating system you are using, as well as which versions of Node.js, npm, and yo. Run the following to get it quickly: