-
-
Notifications
You must be signed in to change notification settings - Fork 4
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
Critical dependency: the request of a dependency is an expression #38
Comments
The steps to reproduce are missing a small reproducible code sample, e.g., a codesandbox would be useful |
E.g., ik wondering what webpack version the problem is. And if you can solve it by requiring your textr plugins yourself instead of passing in strings. Or if you can solve it by configuring webpack. |
This seems to be a warning, not an error. Searching turns up a lot of discussions, such as: webpack/webpack#196. I am able to add: import ellipses from "typographic-ellipses";
// ...
<ReactMarkdown
{...{
source,
plugins: [[textr, { plugins: [ellipses] }]],
}}
/> And it works just fine. So it seems you can ignore the warning? |
It seems a bit dirty, but you could maybe filter the warnings out if you know it’s acceptable: webpack/webpack#196 (comment) |
@wooorm I've removed the warning with swissredcross/remark-textr-webpack-error@6c3d4c0. Thank you for helping me with the issue. |
Subject of the issue
We use remark-textr in a next.js / webpack web application and get the following warning:
Your environment
Steps to reproduce
Install remark-textr in a webpack application.
Similar issues
Related links
The text was updated successfully, but these errors were encountered: