text: /**
   * Created by oxchain on 2017/10/17.
   */
  
  module.exports = {
      entry: [
          './src/index.js'
      ],
      output: {
          path: __dirname,
          publicPath: '/',
          filename: 'bundle.js'
      },
      module: {
          loaders: [
              {
                  test: /\.js$/,
                  exclude: /node_modules/,
                  loader: 'babel-loader',
                  query: {
                      presets: ['react', 'es2015', 'stage-1']
                  }
              },
              {
                  test: /\.js$/,
                  exclude: /node_modules/,
                  loader: 'eslint-loader'
              },
              {
                  test: /\.css$/,
                  loader: "style-loader!css-loader"
              }
          ]
      },
      resolve: {
          extensions: ['.js', '.jsx', '.css']
      },
      devServer: {
          historyApiFallback: true,
          contentBase: './'
      },
  };
  