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 pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy