import webpack from 'webpack' ; const config = { mode : 'development' , module : { rules : [ { exclude : /(node_modules)/ , loader : 'babel-loader' , test : /\.tsx?$/ , } , ] , } , node : { fs : 'empty' , } , resolve : { extensions : [ '.js' , '.jsx' , '.ts' , '.tsx' ] , } , } ; export default config ;