UNPKG

react-life-design

Version:
11 lines 303 B
module.exports = ({ config, mode }) => { config.module.rules.push({ test: /\.(ts|tsx)$/, loader: require.resolve('babel-loader'), options: { presets: [['react-app', { flow: false, typescript: true }]], }, }); config.resolve.extensions.push('.ts', '.tsx'); return config; };