text: var webpack = require("webpack");
  
  module.exports = {
  	entry: "./src/index.js",
  	output: {
  		path: "./theme/static",
  		filename: "bundle.js",
  		publicPath: "static"
  	},
  	devServer: {
  		inline: true,
  		contentBase: './theme',
  		port: 3000
  	},
  	module: {
  		loaders: [
  			{
  				test: /\.js$/,
  				exclude: /(node_modules)/,
  				loader: ["babel-loader"],
  				query: {
  					presets: ["latest", "stage-0", "react"]
  				}
  			},
  			{
  				test: /\.json$/,
  				exclude: /(node_modules)/,
  				loader: "json-loader"
  			},
  			{
  				test: /\.css$/,
  				loader: 'style-loader!css-loader!autoprefixer-loader'
  			},
  			{
  				test: /\.scss$/,
  				loader: 'style-loader!css-loader!autoprefixer-loader!sass-loader'
  			}
  		]
  	}
  }
  
  
  
  
  
  
  
  