Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

postcss configuration for css-loader #14

Closed
veeramarni opened this issue Oct 17, 2017 · 3 comments
Closed

postcss configuration for css-loader #14

veeramarni opened this issue Oct 17, 2017 · 3 comments

Comments

@veeramarni
Copy link
Contributor

Thanks for releasing 0.4.11 to support css out of the box. I'm getting following error, as it is looking for postcss.config.js. Should it be by default taken care of it and may provide way to customize it if needed. In my case, it is really not required for using css-loader.

Error

ERROR in ./node_modules/css-loader?{"sourceMap":true,"importLoaders":1}!./node_modules/postcss-loader/lib?{"sourceMap":true}!./servers/frontend-server/src/index.css
Module build failed: Error: No PostCSS Config found in: /Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/servers/frontend-server/src
    at /Users/veeramarni/Documents/eclipse/workspace/phoneapps/development/projects/fullstack-pro/node_modules/postcss-load-config/index.js:51:26
    at <anonymous>
 @ ./servers/frontend-server/src/index.css 4:14-150 18:2-22:4 19:20-156
 @ ./servers/frontend-server/src/index.tsx
 @ multi ./servers/frontend-server/src/index.tsx
@larixer
Copy link
Member

larixer commented Oct 17, 2017

@veeramarni Thanks, that would be the desired behavior, I will take a look to implement it

@larixer
Copy link
Member

larixer commented Oct 17, 2017

@veeramarni With spinjs@0.4.14 if postcss-loader is not installed into project dependencies it will not be used

@veeramarni
Copy link
Contributor Author

@Vlasenko thank you, will test it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants