dependency-extraction-webpack-plugin
worsens the experience with some packages
#57414
cawa-93
started this conversation in
Developer Experience
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
There are a number of packages that are very inconvenient to work with because they are not published as separate packages. For example,
@wordpress/api
or `@wordpress/template.My usual code looks like this:
Here, the package
@wordpress/components
is set as a dependency. And although the installed package is not used in the runtime, my IDE analyzes it and offers me hints, autocomplete, type checking, etc.However, there are no such packages as
@wordpress/api
or@wordpress/template
. Because of this, I don't get any smart hints. Even worse, IDEs and code analyzers show warnings that I am using a package that is not installed.Beta Was this translation helpful? Give feedback.
All reactions