jantimon / css-variable

Define CSSVariables in JS
https://css-variable.js.org
MIT License
89 stars 5 forks source link

Feature/fix esm webpack #42

Closed rvetere closed 2 weeks ago

rvetere commented 3 weeks ago

All previous changes are upgrading the package to ESM, but it still breaks when we try to load the package as a module with the webpack loader. It is now clear that all the changes that were needed for jest are causing this. This pull request will reset the changes for jest, making it possible to load the package with webpack loader and we simply kick out jest in favor of vitest.