Closed Exegetech closed 8 years ago
The problem is that you use style-loader
, which add JS code to insert <style>you CSS content</style>
. You can use ExtractTextPlugin
to extract that CSS from JS to separated file.
Anyway, sorry but it is not relative with PostCSS :-P.
ah I see. thanks for the clarification!
Looks related: https://github.com/kriasoft/isomorphic-style-loader
Hello,
I am trying to use postcss but with server side rendering by using webpack-isomorphic-tools. After talking to halt-hammerzeit, he mentioned that postcss-loader added the window in the code.
How do I work around this?
here is the link to the issue https://github.com/halt-hammerzeit/webpack-isomorphic-tools/issues/14#issuecomment-152833758