My Current VueJS Setup
Check out the Source Code here
I am working on a project using VueJS with webpack. I have chosen not to use the vue-loader plugin or .vue files.
My project structure resembles a typical Javascript webpack project where I import vue. Here are some of the key options in my webpack configuration:
dev-tool: "source-map"
resolve.alias["vue$"] = "vue/dist/vue.js"
It seems that the source maps for my webpack-generated Javascript bundle file are being created successfully.
The Problem at Hand
During coding, I encountered an error in the console. The stack trace indicated that the issue originated in the vue.js file and extended to the webpack-generated main.js file.
https://i.sstatic.net/3sOOO.png
Upon further inspection, it appears that the source map generated by webpack for my Javascript bundle is not functioning properly.
While researching similar problems on GitHub, I realized that most issues were related to the vue-loader webpack plugin, which I do not utilize.
After examining the application source in Firefox and Chrome, I can confirm that the source maps are indeed malfunctioning:
https://i.sstatic.net/dmRVX.png
This inconsistency in source map functionality is making it challenging to debug any future issues effectively.
Note: The specific error displayed in the screenshots has been resolved. The primary concern raised in this question is the improper functioning of source maps, hindering efficient issue debugging.