Skip to content
New issue

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

explicitly set sideEffect for css and scss files, fixes #3504 #3511

Merged
merged 1 commit into from
Mar 29, 2022
Merged

explicitly set sideEffect for css and scss files, fixes #3504 #3511

merged 1 commit into from
Mar 29, 2022

Conversation

dirkjf
Copy link
Contributor

@dirkjf dirkjf commented Mar 28, 2022

make it possible to import css or scss using ES6 import 'file.css'

fixes #3504

Changes

"sideEffects": false, to "sideEffects": ["*.css", "*.scss"],

Checklist

  • Added markup tests, or they don't apply here because...
  • Updated the changelog at CHANGES.md

@joshgoebel joshgoebel merged commit 4db262d into highlightjs:main Mar 29, 2022
@joshgoebel
Copy link
Member

@dirkjf Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

sideEffect: false, stops webpack importing css
2 participants