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 has been archived by the owner on Aug 11, 2022. It is now read-only.
First of all, great plugin, I found it really handy to use in a previous gulp based setup, does exactly what it says on the tin!
I seem to be having an issue with it in Webpack 2 though, the error:
'TypeError: [object Object] must be a function, did you require() it ?' referencing '/node_modules/postcss-load-plugins/lib/plugins.js' in the stack trace as the call site of the problem.
I have had no problems with the other postcss modules I use, seems to be either an issue specifically with post-css assets.
Without knowing much about the internals of postcss-load-plugins, as the error suggests it would seem to be expecting a function and not an object.
Is this a known issue or am I doing something wrong?
Hi there,
First of all, great plugin, I found it really handy to use in a previous gulp based setup, does exactly what it says on the tin!
I seem to be having an issue with it in Webpack 2 though, the error:
'TypeError: [object Object] must be a function, did you require() it ?' referencing '/node_modules/postcss-load-plugins/lib/plugins.js' in the stack trace as the call site of the problem.
I have had no problems with the other postcss modules I use, seems to be either an issue specifically with post-css assets.
Without knowing much about the internals of postcss-load-plugins, as the error suggests it would seem to be expecting a function and not an object.
Is this a known issue or am I doing something wrong?
For reference (parts omitted for brevity):
webpack.config.js
postcss.config.js
The text was updated successfully, but these errors were encountered: