There are three branches, showing diverse solutions:
Default branch, having the simplest config, with a pure JavaScript app.
Branch integrating a React application with Webpack.
Branch showing the Webpack code splitting feature, using the SplitChunksPlugin plugin.
Branch that demonstrate a simples use of dynamic imports.
git clone https://github.com/gvarandas/gdg-webpack.git
yarn
ou npm install
yarn dev
ou npm run dev
🎉 PROFIT! 🎉
Feel free to contribute. Describe your PR changes by comments, send it from your fork, and if it is possible, reference related issues.
This repo was originally used in the Google Developers Group Meetup, hosted in Brasília/Brazil, in August 15, 2018.