Skip to content

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