ilyabirman / Jouele

The best web audio player on the planet
MIT License
164 stars 18 forks source link

Invalid CSS after " display: none\\0/" #37

Closed arthurshlain closed 3 years ago

arthurshlain commented 3 years ago

Error while trying to import CSS to SCSS.

SCSS file:

@import "~ilyabirman-jouele/dist/jouele";

Sass Error

Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
SassError: Invalid CSS after "  display: none\\0/": expected expression (e.g. 1px, bold), was ";"
        on line 128 of node_modules/ilyabirman-jouele/dist/jouele.css
        from line 49 of app.scss
>>   display: none\0/;

   -----------------^
eugene-lazarev commented 3 years ago

Thanks for report. This is not just an invalid CSS, this is hack for old browser. Do not import CSS to SCSS or remove those lines in your code if you don’t need support for IE 8.