- We fire the ” appBundle ” function so that it first transforms the JSX and ES6 (i.e. ES2015) and later bundle everything together in ” bundle.js “. If you deploy with gulp deploy in your terminal, ALL your js files will be bundled to “bundle.js” including the libraries.
- There’s gulp plugins out there that you can use to help you bust compiled files.
- You see we are using ES6 in these files.
- Create a file called “index.html” on the root of your folder.
Read the full article, click here.
@LuisMDeveloper: “”How to set up Gulp for Developing ES2015 React v0.14+ Applications with Babelify & Browserify” #ReactJS”