LLIP Life: How we use Webpack/Babel
Aug 8, 2017 · 1 min read

At Llip, we use webpack to bundle our app.js file — so this file is where we import all of our required .js and .css files. We export to bundle.js which is included in a script tag in our index.html page.
All of our files ending in .js (excluding files in our node_modules folder) are converted from ES6 to ES5 browser-compatible javascript and from React JSX code to vanilla javascript through the babel-loader library. We also specify a style loader to load all of our separate CSS files when webpack is run.
There you have it, folks. Sometimes the generic build is all you need to get the job done. See you next time for another exciting installment of LLIP Life!
