Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alanbsmith/8c1c739dd2932236f26188ed8aad9487 to your computer and use it in GitHub Desktop.
Save alanbsmith/8c1c739dd2932236f26188ed8aad9487 to your computer and use it in GitHub Desktop.
var webpack = require('webpack');
var path = require('path');
module.exports = {
entry: [
'./client/'
],
module: {
loaders: [
{ test: /\.js?$/, loader: 'babel', exclude: /node_modules/ }
]
},
resolve: {
extensions: ['', '.js']
},
output: {
path: path.join(__dirname, '/app/assets/webpack/'),
publicPath: '/',
filename: 'bundle.js'
},
plugins: [
]
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment