An open API service indexing awesome lists of open source software.

https://github.com/chrisdothtml/webpack-code-splitting

Testing the waters of code splitting and async/dynamic module loading
https://github.com/chrisdothtml/webpack-code-splitting

Last synced: about 2 months ago
JSON representation

Testing the waters of code splitting and async/dynamic module loading

Awesome Lists containing this project

README

          

# webpack-code-splitting

> Testing the waters of code splitting and async/dynamic module loading

## Try it out

#### 1. Install deps

```bash
$ npm i
```

#### 2. Build the bundles

You'll notice it'll build the main bundle, a "common" bundle for extracted shared modules, and a separate file for each of the dynamically loaded modules

```bash
$ npm run build
```

#### 3. Open `dist/index.html` in a browser