Last active
November 12, 2015 21:25
-
-
Save mike-douglas/671fe9c2faa1cf0462d8 to your computer and use it in GitHub Desktop.
Simple Webpack config for ES6 projects
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
module.exports = { | |
entry: './app.jsx', | |
output: { | |
filename: 'bundle.js', | |
}, | |
module: { | |
loaders: [ | |
{ | |
test: /\.jsx?$/, | |
loader: 'babel-loader' | |
} | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment