Description
Hi!
I have fresh installation of webpack-encore-bundle and it works fine, but I see some strange things when I open webpack.config.js
in PhpStorm.
Some methods of Encore object (like isRuntimeEnvironmentConfigured()
, configureRuntimeEnvironment()
, setOutputPath()
) are highlighted as unresolved, but some others (setPublicPath()
, addEntry()
) are resolved correctly:
The strangest thing is that if I swap setOutputPath()
and setPublicPath()
, so after that setPublicPath()
becomes unresolved (was resolved) and setOutputPath()
is resolved (was unresolved):
Windows 10 x64 1909
PhpStorm 2020.2 (JavaScript version is set to ECMAScript 6+ in settings)
Node.JS 14.7.0
Installed devDependencies:
"@symfony/webpack-encore": "^0.30.0",
"core-js": "^3.0.0",
"regenerator-runtime": "^0.13.2",
"webpack-notifier": "^1.6.0"
This issue is very similar to #151 and #236, but I didn't find the solution there.