Open cxwwa opened 7 years ago
You can't pass functions to postcss and have it run through HappyPack. Instead you must define your postcss configuration in a separate file and tell the postcss-loader to use that file.
The following statement is not doing what you expect because we can't serialize functions:
HappyPack.SERIALIZABLE_OPTIONS = HappyPack.SERIALIZABLE_OPTIONS.concat(['postcss'])
ok, I'll try. thank your reply.
HI, When I use sass、postcss、css loader handle scss file, and "// }" in file annotations.
throw error: CssSyntaxError: index.scss: Unknown word
this is my config: