Open kayazinc opened 8 years ago
I got this error message while trying to incorporate webpack-profile.
any idea what i am missing? Thanks. Below are my config:
dev: { vars: { //section with variables passed to webpack.DefinePlugin }, config: { devtool: 'inline-source-map', plugins: [ new webpack.optimize.OccurenceOrderPlugin(), new webpack.HotModuleReplacementPlugin(), new webpack.NoErrorsPlugin(), ], module: { loaders: [{ test: /\.jsx?$/, loaders: [ 'react-hot', 'babel?presets[]=es2015,presets[]=react', ], exclude: /(node_modules|bower_components)/ }, { test: /\.css?$/, loader: 'style!css', exclude: /node_modules/ }] } } }
you need an empty array in default conf
I got this error message while trying to incorporate webpack-profile.
any idea what i am missing? Thanks. Below are my config: