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
- Host: GitHub
- URL: https://github.com/chrisdothtml/webpack-code-splitting
- Owner: chrisdothtml
- Created: 2018-05-13T00:53:32.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-14T13:42:09.000Z (about 8 years ago)
- Last Synced: 2025-03-23T16:43:14.774Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 86.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
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