Created
June 28, 2016 12:33
-
-
Save chuck0523/60142e263e582d40549413272b4eee0f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const webpack = require('webpack') | |
const path = require('path') | |
const config = { | |
entry: { | |
client: ["./src/client.js"] | |
}, | |
output: { | |
filename: '[name].js', | |
path: path.join(__dirname, 'public'), | |
publicPath: '/public/' | |
}, | |
module: { | |
loaders: [ | |
{ | |
test: /.jsx?$/, | |
loaders: ['babel'], | |
exclude: /node_modules/ | |
} | |
] | |
}, | |
plugins: [] | |
} | |
module.exports = config |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment