From 582f9c40e8da703d6fcd61a646a152710040190c Mon Sep 17 00:00:00 2001 From: Ian Walter Date: Mon, 4 Feb 2019 16:16:13 -0500 Subject: [PATCH] Fixing template.isProduction option --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index ac200df..040ddb5 100644 --- a/src/index.ts +++ b/src/index.ts @@ -118,7 +118,7 @@ export interface VuePluginOptions { */ export default function vue(opts: VuePluginOptions = {}): Plugin { const isVue = createVueFilter(opts.include, opts.exclude) - const isProduction = + const isProduction = (opts.template && opts.template.isProduction) || process.env.NODE_ENV === 'production' || process.env.BUILD === 'production' d('Version ' + version) 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