Skip to content
This repository has been archived by the owner on Nov 27, 2019. It is now read-only.

malchata/code-splitting-example

Repository files navigation

Code Splitting Example

This is an example sample app that shows how to perform code splitting in Webpack and Parcel. To install, simply git clone and run npm install. From there, you can go with any number of commands:

  • To do a dev build, run npm run dev.
  • To generate an optimized production build, run npm run build.
  • To perform a production build and run the app on a local server, run npm start, and the app will be available at http://localhost:8080/

There are several branches, each of which demonstrate a different kind of code splitting or performance optimization for apps using code splitting:

Hope you find this example useful!

About

A toy app demonstrating how to do code splitting in Webpack.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published