Critical dependency for plugins in webpack
See original GitHub issuenode_modules/postcss-functions/dist/index.js Critical dependency: the request of a dependency is an expression
plugin = require('postcss').plugin
export default plugin('postcss-functions', (opts = {}) => {
for webpack and to run this in browser it needs to be a plain class/object/function.
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Webpack Warning: Critical dependency: the request of a ...
[Edit: This seems to be related with WebPack in General, not with Angular] When activating this module in an Angular 12 project, this...
Read more >webpack-plugin-critical - npm
Critical Webpack Plugin ... This is a webpack wrapper around Addy Osmani's critical library, which helps to inline minimum necessary CSS in HTML ......
Read more >Webpack - Critical dependency: the request of a dependency ...
Solved with npm install request@2.79.0 --save. According to the authors of ajv , the issue will likely be resolved in the latest version...
Read more >Dependency Management - webpack
You can create your own context with the require.context() function. It allows you to pass in a directory to search, a flag indicating...
Read more >the request of a dependency is an expression webpack - You ...
Webpack - Critical dependency: the request of a dependency is an expression ... When a library uses variables or expressions in a require...
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 Free
Top 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
Could you open a issue in https://github.com/andyjansson/postcss-functions
I have not access to that repo to fix error.
@ai I think there is no need to fix anything in postcss core 👍 , but in postcss-function there are options.glob:
this cannot be bundled in webpack, and I don’t see any possibility to fix it without removing 😕