Installation
npm install --save react-asyncyarn add react-asyncTranspiling for legacy browsers
{
test: /\.(js|jsx)$/,
exclude: /\/node_modules\/core-js\//,
use: [{
loader: 'babel-loader',
options: {
configFile: './babel.config.js',
// Caching is recommended when transpiling node_modules to speed up consecutive builds
cacheDirectory: true,
}
}]
}Last updated
Was this helpful?