nowebpack.config.js 270 B

1234567891011121314
  1. module.exports = {
  2. module: {
  3. loaders: [
  4. {
  5. test: /\.js?$/,
  6. exclude: /(node_modules|bower_components)/,
  7. loaders: [
  8. 'react-hot',
  9. 'babel?presets[]=react,presets[]=es2015,presets[]=stage-0'
  10. ]
  11. }
  12. ]
  13. }
  14. }