Speedometer icon indicating copy to clipboard operation
Speedometer copied to clipboard

Vue TodoMVC source maps include full path of author's machine

Open lpardosixtosMs opened this issue 1 year ago • 3 comments

The source maps for Vue TodoMVC are using the full path instead of the relative path, causing fake file changes every time a new person builds it. E.g:

"\n\nimport exportComponent from \"/Users/thorstenk/Desktop/FlashDesignory/Speedometer/resources/todomvc/architecture-examples/vue/node_modules/vue-loader/dist/exportHelper.js\"\n

to

"\n\nimport exportComponent from \"/home/issackjohn/issack/Speedometer/resources/todomvc/architecture-examples/vue/node_modules/vue-loader/dist/exportHelper.js\"\n

in #376.

lpardosixtosMs avatar Feb 29 '24 17:02 lpardosixtosMs

Oh, can we fix this before 3.0 release?

rniwa avatar Feb 29 '24 23:02 rniwa

One can see the webpack config used by vue like this:

./node_modules/.bin/vue-cli-service inspect --mode production 2>&1| less

Here we clearly see that the absolute directory is used everywhere. I'm not sure which of these impacts the source map generation. Clearly in my other non-vue webpack-based project this isn't happening.

julienw avatar Mar 04 '24 09:03 julienw

Removing v3-blocker keyword since this doesn't need to block the release of Speedometer 3.0.

rniwa avatar Mar 04 '24 19:03 rniwa