Skip to content

Plugins Function TypeError #13

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

Closed
dcwardell7 opened this issue Jun 16, 2015 · 4 comments
Closed

Plugins Function TypeError #13

dcwardell7 opened this issue Jun 16, 2015 · 4 comments

Comments

@dcwardell7
Copy link

I am attempting to use postcss-loader with postcss-import. These work fine until I make the webpack-config postcss attribute a function as described here.

I get the following message:
ERROR in .//css-loader!.//postcss-loader!./src/styles/main.css
Module build failed: TypeError: undefined is not a function

This is the output anytime I set postcss to a function. If it is an array of plugins, it works fine.

Can anyone verify this functionality is still working with webpack?
Thanks

@ai
Copy link
Contributor

ai commented Jun 16, 2015

Sorry, this feature is unreleased yet :)

We just need small fix: #12

@dcwardell7
Copy link
Author

Great, excited for the release.

@ai I saw a comment you made where you mentioned you aren't a webpack user anymore. Just curious, do you use an alternative and why? Are you supporting postcss-loader actively or just merging PRs?

@ai
Copy link
Contributor

ai commented Jun 16, 2015

@quicksilver7 I use Gulp and Browserify, because webpack has ugly parameters for loaders and works very bad with CSS.

@ai
Copy link
Contributor

ai commented Jun 17, 2015

Released in 0.5

@ai ai closed this as completed Jun 17, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants