We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sideEffects
2.70.1
macOS
16
https://stackblitz.com/edit/node-lr98tg
As lib/common.js are listed in the sideEffects field, these lines should not be removed:
lib/common.js
https://github.com/wooorm/lowlight/blob/0803fc3416cbdf59f204da243313e3315eb34617/lib/common.js#L1-L36
They are removed incorrectly
npm run build
highlight.js
Related issues: vitejs/vite#7635 rollup/plugins#1159
The text was updated successfully, but these errors were encountered:
There are more issues found in Vite as well:
Sorry, something went wrong.
Fix at #4867
This issue has been resolved via #4867 as part of rollup@3.17.2. You can test it via npm install rollup.
npm install rollup
Successfully merging a pull request may close this issue.
Rollup Version
2.70.1
Operating System (or Browser)
macOS
Node Version (if applicable)
16
Link To Reproduction
https://stackblitz.com/edit/node-lr98tg
Expected Behaviour
As
lib/common.js
are listed in thesideEffects
field, these lines should not be removed:https://github.com/wooorm/lowlight/blob/0803fc3416cbdf59f204da243313e3315eb34617/lib/common.js#L1-L36
Actual Behaviour
They are removed incorrectly
Additional Information
Reproduce steps
npm run build
highlight.js
languages code bundled inRelated issues:
vitejs/vite#7635
rollup/plugins#1159
The text was updated successfully, but these errors were encountered: