const configFactory = require ( './webpack.base' ) ; process . env . BABEL_ENV = 'development' ; process . env . NODE_ENV = 'development' ; type { import ( 'webpack' ) . webpack . Configuration } module . exports = { ... configFactory . createDefaultConfig ( ) , output : { ... configFactory . createDefaultConfig ( ) . output , filename : '[name].js' , chunkFilename : '[name].js' , } , devtool : false , mode : 'development' , plugins : [ configFactory . plugins . reactRefresh ( ) , ] , module : { strictExportPresence : true , rules : [ configFactory . rules . fonts ( ) , configFactory . rules . svg ( ) , configFactory . rules . images ( ) , configFactory . rules . jsx ( ) , configFactory . rules . css ( ) , ] , } , } ;