You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
+1 for this, IDE debugger support is not functional without setting pad: 'line' | true. If pad is not desired for production builds, could it be supported as a vue-loader option which defaults to true in non-production environments?
Presently, it is required to override compiler-sfc's parse method with something like:
Version
16.0.0
Reproduction link
https://codepen.io/l1shu/pen/ExgwjbM
Steps to reproduce
In vue-loader@16
source code:
What is expected?
What is actually happening?
add param pad: 'line'
https://github.com/vuejs/vue-loader/blob/next/src/index.ts#L96
That's because the parser of @vue/compiler-sfc use pad=false as default.
see https://github.com/vuejs/vue-next/blob/master/packages/compiler-sfc/src/parse.ts#L84
The text was updated successfully, but these errors were encountered: