https://github.com/gregives/critical-issue-528-reproduction
https://github.com/gregives/critical-issue-528-reproduction
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/gregives/critical-issue-528-reproduction
- Owner: gregives
- Created: 2022-03-11T09:46:51.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-03-11T10:04:53.000Z (about 4 years ago)
- Last Synced: 2025-10-20T04:52:49.201Z (8 months ago)
- Language: HTML
- Size: 61.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Reproduction for Critical issue 528
This is a very simple site created with Eleventy to reproduce [Critical issue 528](https://github.com/addyosmani/critical/issues/528). The reason this reproduction causes a MaxListenersExceededWarning is because `critical.generate` is called ≥15 times (at least once per HTML file).
All of the HTML files in `src` are identical.
I have enabled trace warnings, so all you need to run is:
```
npm install
npm run build
```