@WebStormIDE a couple of month ago I asked if you could retrieve the information if jest is installed from the node_modules directory instead of the package.json. I discovered now that this is the case for webpack, too. could you change this in general for dependencies?
-
Show this thread
-
e.g. here https://www.jetbrains.com/help/webstorm/using-webpack.html … first point: "Make sure webpack is listed in the dependencies or devDependencies". I can't because it's not a direct dependency, not in my CLI nor in angular CLI, vue CLI or create react app, next, nuxt, etc.
1 reply 0 retweets 0 likesShow this thread -
Replying to @_jwerner_
Hi, the only feature related to webpack that is enabled when the package is listed in package.json is code completion in the configuration object of webpack.config.js. In the projects you've mentioned this file is not in the project root and is hidden in the node_modules folder
2 replies 0 retweets 0 likes -
Replying to @WebStormIDE
Good to know, but what about webpack aliases? They’re defined in the config inside node_modules. How can I teach webstorm these aliases?
1 reply 0 retweets 0 likes
You can specify the path to the configuration file in Preferences | Languages & Frameworks | JavaScript | webpack.
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.