not really known
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
434 B

  1. module.exports = {
  2. entry: [
  3. './src/index.js'
  4. ],
  5. output: {
  6. path: __dirname,
  7. publicPath: '/',
  8. filename: 'bundle.js'
  9. },
  10. module: {
  11. loaders: [{
  12. exclude: /node_modules/,
  13. loader: 'babel',
  14. query: {
  15. presets: ['react', 'es2015', 'stage-1']
  16. }
  17. }]
  18. },
  19. resolve: {
  20. extensions: ['', '.js', '.jsx']
  21. },
  22. devServer: {
  23. historyApiFallback: true,
  24. contentBase: './'
  25. }
  26. };