https://github.com/mischnic/parcel-shared-double-run
https://github.com/mischnic/parcel-shared-double-run
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mischnic/parcel-shared-double-run
- Owner: mischnic
- Created: 2020-08-13T19:43:24.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-08-24T21:02:34.000Z (over 5 years ago)
- Last Synced: 2025-03-21T10:51:39.503Z (10 months ago)
- Language: JavaScript
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
1. Build `*.html`
2. Open dist/c.html. `y` shouldn't execture twice (in two different bundles) and `false` is printed
3. Build `c.html`
4. Open dist/c.html. `y` are executed once and `true` is printed
`true` means that the context is actually the same (`===`)