incompatibility with async plugins
See original GitHub issueIf you try to use require hook with any async plugin (for example postcss-import
) you get error throw new Error('Use process(css).then(cb) to work with async plugins');
Issue Analytics
- State:
- Created 8 years ago
- Reactions:5
- Comments:9 (4 by maintainers)
Top Results From Across the Web
Incompatibility Async JS & Elementor Form on mobile devices
Does anybody know if it's a 'plugin thing' or, rather, a plugin's configuration thing? Or how to to solve it so that I...
Read more >Developers - incompatibility with async plugins - - Bountysource
Coming soon: A brand new website interface for an even better experience!
Read more >What is your opinion on the API incompabilities ... - Reddit
Now neovim needs to implement a compatibility layer to stay relevant since many vim plugins will start using the async support.
Read more >Plugin with AMP incompatibility - GeneratePress
After updates received this error in AMP plugin. ... createElement(__DOUBLE_QUOTED_STRING__);\r\nscript.async = true;\r\nscript.type ...
Read more >Known Beaver Builder incompatibilities
This plugin works with Beaver Builder if both of the following conditions are met: jQuery is excluded; wp-includes/js is added to the Async...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m using
postcss-import
to do something like,And I get the async plugins error …
Hook setup looks like this,
The
postcss-cssnext
portion works fine, but it bombs out because postcss-import is async only.I’ve opened an issue at
postcss-import
since it looks like they used to have a sync mode, but removed it 😕https://github.com/postcss/postcss-import/issues/180
@anru nice solution 😃