Created
July 30, 2016 10:25
-
-
Save abhirathore2006/d75cefd14ee917a23bc33a799d869f72 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
#webpack arguments | |
--display-modules shows list of modules | |
--profile --json > stats.json --output stats.json to use at http://webpack.github.io/analyse/ | |
##Babel polyfill to support es6 | |
import "babel-polyfill"; | |
With webpack.config.js, add babel-polyfill to your entry array: | |
module.exports = { | |
entry: ['babel-polyfill', './app/js'] | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment