Created
November 17, 2016 14:42
-
-
Save zacck-zz/ac6340962e8fee0ea17c09fa2f0331c6 to your computer and use it in GitHub Desktop.
This file contains hidden or 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: { | |
rules: [ | |
{ | |
test: /\.(js|jsx)$/, | |
exclude: /(node_modules)/, | |
use: [ | |
'babel-loader' | |
], | |
options: { //parse the files through react | |
presets: ['react', 'es2015', 'stage-0'] | |
}, | |
}, | |
], | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment