text: var path = require("path");
  
  var DIST_DIR = path.resolve(__dirname, "dist");
  var SRC_DIR = path.resolve(__dirname, "src");
  
  var config = {
      entry: SRC_DIR + "/app/index.js",
      output: {
          path: DIST_DIR + "/app",
          filename: "bundle.js",
          publicPath: "/app/"
      },
      module: {
          loaders: [
              {
                  test: /\.css$/,
                  loader: 'style!css?importLoaders=1'
              },
              {
  
                  test: /\.js?/,
                  include: SRC_DIR,
                  loader: "babel-loader",
                  query: {
                      presets: ["react", "es2015", "stage-2"]
                  }
              }
          ]
      },
      devServer: {
          historyApiFallback: true,
      },
  
  };
  
  module.exports = config;