var webpack = require('webpack');

module.exports = {
  entry: "./src/app.js",
  output: {
    path: "./build",
    filename: "bundle.js",
    publicPath: 'http://localhost:8090/assets'
  },
  module: {
    loaders: [
      { test: /\.scss$/, loader: "style!css!sass" },
      { test: /\.css$/, loader: "style!css" },
      { test: /\.(png|jpg)$/, loader: 'url-loader?limit=8192' },
      { test: /\.js$/, loader: "jsx-loader?insertPragma=React.DOM&harmony" },
      { test: /\.json$/, loader: "json" }
    ]
  },
  externals: {
    'react': 'React'
  },
  resolve: {
    extensions: ['', '.js', '.jsx']
  },
  plugins: [
    // Ignore extra languages for moment.js
    new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/)
  ]
};

var webpack = require('webpack');

module.exports = {
  entry: "./src/app.js",
  output: {
    path: "./build",
    filename: "bundle.js",
    publicPath: 'http://localhost:8090/assets'
  },
  module: {
    loaders: [
      { test: /\.scss$/, loader: "style!css!sass" },
      { test: /\.css$/, loader: "style!css" },
      { test: /\.(png|jpg|svg)$/, loader: 'url-loader?limit=8192' },
      { test: /\.js$/, loader: "jsx-loader?insertPragma=React.DOM&harmony" },
      { test: /\.json$/, loader: "json" }
    ]
  },
  externals: {
    'react': 'React'
  },
  resolve: {
    extensions: ['', '.js', '.jsx']
  },
  plugins: [
    // Ignore extra languages for moment.js
    new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/)
  ]
};

Add svg to be loaded as image.
Add svg to be loaded as image.
