esbuild-plugin-vue3
Advanced tools
Comparing version 0.2.3 to 0.2.4
@@ -103,3 +103,3 @@ "use strict"; | ||
case 0: | ||
buildOpts.define = __assign(__assign({}, buildOpts.define), { "__VUE_OPTIONS_API__": opts.enableOptionsApi ? "true" : "false", "__VUE_PROD_DEVTOOLS__": opts.enableDevTools ? "true" : "false" }); | ||
buildOpts.define = __assign(__assign({}, buildOpts.define), { "__VUE_OPTIONS_API__": opts.disableOptionsApi ? "false" : "true", "__VUE_PROD_DEVTOOLS__": opts.enableDevTools ? "true" : "false" }); | ||
if (opts.generateHTML && !buildOpts.metafile) { | ||
@@ -106,0 +106,0 @@ buildOpts.metafile = true; |
@@ -5,5 +5,5 @@ import { DirectiveNode, ElementNode, TransformContext } from "@vue/compiler-core"; | ||
/** | ||
* Vue's options API is disabled by default in order to save space, however you can re-enable it if you need it. | ||
* Vue's options API is enabled by default, but it can be disabled in order to save space. | ||
*/ | ||
enableOptionsApi?: boolean; | ||
disableOptionsApi?: boolean; | ||
/** | ||
@@ -10,0 +10,0 @@ * Enable Vue dev tools on production, disabled by default. |
{ | ||
"name": "esbuild-plugin-vue3", | ||
"version": "0.2.3", | ||
"version": "0.2.4", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
58995