https://github.com/magellol/webpack-chunkids-changing
Reproducible example of a webpack configuration with chunk ids that change
https://github.com/magellol/webpack-chunkids-changing
Last synced: about 2 months ago
JSON representation
Reproducible example of a webpack configuration with chunk ids that change
- Host: GitHub
- URL: https://github.com/magellol/webpack-chunkids-changing
- Owner: Magellol
- Created: 2020-07-09T13:37:12.000Z (almost 5 years ago)
- Default Branch: changes
- Last Pushed: 2023-01-07T19:56:38.000Z (over 2 years ago)
- Last Synced: 2025-03-29T12:53:30.194Z (2 months ago)
- Language: JavaScript
- Size: 464 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# webpack-chunkids-changing
```bash
git clean -fd before afternpm run compile
cp -r target before# This branch includes a small change
git checkout changesnpm run compile
cp -r target after# Observe the hashes of each chunk
ls before after# If we diff the outputs, we see:
# 1. "main" chunk content and hash changed ✅
# 2. "internal-error-route~not-found-route" chunk content did not change, yet hash did ❌
git diff --no-index before aftergit checkout master
```