https://github.com/env0/webpack-reproduce
https://github.com/env0/webpack-reproduce
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/env0/webpack-reproduce
- Owner: env0
- Created: 2021-01-05T12:39:36.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-08-29T10:00:16.000Z (almost 2 years ago)
- Last Synced: 2025-06-18T09:57:00.920Z (about 1 year ago)
- Language: JavaScript
- Size: 87.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Reproducing Webpack issue [#12339](https://github.com/webpack/webpack/issues/12339)
`!new.target.isInitialized` is bundled as `true`
To reproduce:
1. `npm i`
2. `npm run webpack`
**Expected behavior**
`if(!new.target.isInitialized)` should be bundled as `if(!new.target.isInitialized)`
**Actual behavior**
`if(!new.target.isInitialized)` is bundled as `if(true)`