Created
April 11, 2018 12:35
-
-
Save prakash122/bb3d63cc9f5dc365d24011207905e81e 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
// Add the following rule to run the babel loader on all the files with .js extension. | |
{ | |
test: /\.js$/, | |
use: [ | |
{ | |
loader: 'babel-loader', | |
options: { | |
presets: ['env'] | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment