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

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

Awesome Lists containing this project

README

        

# webpack-chunkids-changing

```bash
git clean -fd before after

npm run compile
cp -r target before

# This branch includes a small change
git checkout changes

npm 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 after

git checkout master
```