@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
here are two things that are not working anymore since I "outsourced" most of the devDependencies into a CLI (the jest problem is already known)pic.twitter.com/6F2yJGGMff
1 reply 0 retweets 0 likes -
Replying to @_jwerner_
To resolve aliases, the IDE has to analyze the webpack configuration file. By default, the IDE only looks for webpack.config.js in the project root, there's no way it can guess the path to it if it's somewhere in node_modules - you have to specify the path in preferences.
1 reply 0 retweets 0 likes -
Replying to @WebStormIDE
That's clear to me. the amount of files to scan is too large - so I did reference the webpack config but it didn't solve the problem
here is the config: https://github.com/vuesion/packages/blob/master/packages/service/src/webpack/config/base.ts#L23 …pic.twitter.com/4hmfvicZHN
1 reply 0 retweets 0 likes -
-
Replying to @WebStormIDE @_jwerner_
Hi, sorry for delayed reply. So we've checked the project: the error in the .vue file actually comes from TypeScript itself, WebStorm can resolve the path - you can cmd-click on it to navigate to the file.
2 replies 0 retweets 0 likes -
Replying to @WebStormIDE
Wow, thank you for spending time to help me out. That’s a good catch, will test it asap
thx!1 reply 0 retweets 0 likes
Regarding the scss import, we've reported 2 issues https://youtrack.jetbrains.com/issue/WEB-37834 and https://youtrack.jetbrains.com/issue/WEB-37830 . We've fixed one already, we'll try to release the fix in one of 2019.1.x updates.
-
-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
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.
