You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 28, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 28, 2026. It is now read-only.
I've also experienced this. Animate.css invokes it in the first line, so there's definitely the possibility many others are also encountering it. Any update on a potential fix?
I have solved the problem by changing " require('css!./file.css') " to " import 'file.css' ".I guess when you use babel plugin and css-loader plugin you will meet the problem.
I'm getting this issue because we are compiling SASS including some vendor SASS that has the @charset at the top of the file. Any ideas on work arounds or fixes?
Activity
psypersky commentedon Mar 2, 2016
Same here
batwicket commentedon Mar 7, 2016
I'm also getting an error when '@charset' is parsed.
gmaggess commentedon Mar 17, 2016
Has anyone found a fix for this?
arufian commentedon Mar 29, 2016
got same issue
kincaidoneil commentedon Mar 30, 2016
I've also experienced this. Animate.css invokes it in the first line, so there's definitely the possibility many others are also encountering it. Any update on a potential fix?
newbieYoung commentedon Apr 8, 2016
I have solved the problem by changing " require('css!./file.css') " to " import 'file.css' ".I guess when you use babel plugin and css-loader plugin you will meet the problem.
Sugarball commentedon Apr 13, 2016
got same issue on normalize.css using import "css-loader!normalize.css"
newbieYoung commentedon Apr 13, 2016
You should change " import 'css-loader!normalize.css' " to " import 'normalize.css' ". The right format is " import + path ".
jkinzel-r7 commentedon Aug 8, 2016
I'm getting this issue because we are compiling SASS including some vendor SASS that has the
@charsetat the top of the file. Any ideas on work arounds or fixes?delijah commentedon Aug 17, 2016
Any news on this?
Tests: add test with `charset` directive [webpack#211].
alexander-akait commentedon Apr 20, 2017
/cc @michael-ciniawsky maybe bug with old version
postcssor old version inpluginforpostcsswhich we used for parsing, but now error does not happen ⭐ . I think we can close this issue./cc @4ware @psypersky @batwicket @gmaggess @arufian @kincaidoneil @newbieYoung @jkinzel-r7 all works as expected now?
michael-ciniawsky commentedon Apr 20, 2017
Reopen if still any regressions with the latest version of plugins/loaders/webpack etc 😛