Currently facing an issue with adding a webpack extension to build my Vue app. Despite having Vue/cli which includes webpack, I have also attempted to install different versions of webpack without success. Anyone experienced the same problem and found a solution? Any guidance on where I may have made a mistake would be greatly appreciated.
Tried various troubleshooting steps such as removing/reinstalling node_modules and package-lock.json files.
Error encountered when using npm run build
https://i.sstatic.net/ANlNu.png
Need assistance with adding a plugin code
https://i.sstatic.net/zLqvC.png
Sharing my package.json file for reference