Content-Length: 685 | pFad | http://github.com/vuejs/vue-loader/pull/1799.diff

thub.com diff --git a/src/index.ts b/src/index.ts index ed24c5304..ca4d7c21e 100644 --- a/src/index.ts +++ b/src/index.ts @@ -45,6 +45,7 @@ export interface VueLoaderOptions { appendExtension?: boolean isServerBuild?: boolean + pad?: boolean | 'line' | 'space' } let errorEmitted = false @@ -89,11 +90,13 @@ export default function loader( const isServer = options.isServerBuild ?? target === 'node' const isProduction = mode === 'production' + const pad = options.pad ?? sourceMap const filename = resourcePath.replace(/\?.*$/, '') const { descriptor, errors } = parse(source, { filename, sourceMap, + pad, }) // cache descriptor








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/vuejs/vue-loader/pull/1799.diff

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy