After importing the a.js file, it will detect a.js normally, and then comment out the import a.js, and the error of a.js will still be reported, which can only be resolved by restarting webpack.
"webpack": "^5.76.1"
"eslint": "^8.46.0",
"eslint-webpack-plugin": "^4.0.1"
After importing the a.js file, it will detect a.js normally, and then comment out the import a.js, and the error of a.js will still be reported, which can only be resolved by restarting webpack. "webpack": "^5.76.1" "eslint": "^8.46.0", "eslint-webpack-plugin": "^4.0.1"