unplugin-vue-components
Advanced tools
Comparing version 0.19.0 to 0.19.1
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); | ||
var _chunkDZERNDUJjs = require('./chunk-DZERNDUJ.js'); | ||
var _chunkR3CZJVQLjs = require('./chunk-R3CZJVQL.js'); | ||
require('./chunk-TMX2H7L5.js'); | ||
@@ -8,3 +8,3 @@ require('./chunk-6F4PWJZI.js'); | ||
// src/esbuild.ts | ||
var esbuild_default = _chunkDZERNDUJjs.unplugin_default.esbuild; | ||
var esbuild_default = _chunkR3CZJVQLjs.unplugin_default.esbuild; | ||
@@ -11,0 +11,0 @@ |
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); | ||
var _chunkDZERNDUJjs = require('./chunk-DZERNDUJ.js'); | ||
var _chunkR3CZJVQLjs = require('./chunk-R3CZJVQL.js'); | ||
@@ -15,2 +15,2 @@ | ||
exports.camelCase = _chunkTMX2H7L5js.camelCase; exports.default = _chunkDZERNDUJjs.unplugin_default; exports.kebabCase = _chunkTMX2H7L5js.kebabCase; exports.pascalCase = _chunkTMX2H7L5js.pascalCase; | ||
exports.camelCase = _chunkTMX2H7L5js.camelCase; exports.default = _chunkR3CZJVQLjs.unplugin_default; exports.kebabCase = _chunkTMX2H7L5js.kebabCase; exports.pascalCase = _chunkTMX2H7L5js.pascalCase; |
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); | ||
var _chunkDZERNDUJjs = require('./chunk-DZERNDUJ.js'); | ||
var _chunkR3CZJVQLjs = require('./chunk-R3CZJVQL.js'); | ||
require('./chunk-TMX2H7L5.js'); | ||
@@ -11,7 +11,7 @@ require('./chunk-6F4PWJZI.js'); | ||
config.plugins = config.plugins || []; | ||
config.plugins.unshift(_chunkDZERNDUJjs.unplugin_default.webpack(options)); | ||
config.plugins.unshift(_chunkR3CZJVQLjs.unplugin_default.webpack(options)); | ||
}); | ||
this.nuxt.hook("vite:extend", async (vite) => { | ||
vite.config.plugins = vite.config.plugins || []; | ||
vite.config.plugins.push(_chunkDZERNDUJjs.unplugin_default.vite(options)); | ||
vite.config.plugins.push(_chunkR3CZJVQLjs.unplugin_default.vite(options)); | ||
}); | ||
@@ -18,0 +18,0 @@ } |
@@ -760,2 +760,3 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); | ||
} | ||
var varDirectives = ["Ripple", "Lazy"]; | ||
function VarletUIResolver(options = {}) { | ||
@@ -776,2 +777,4 @@ return [ | ||
return; | ||
if (!varDirectives.includes(name)) | ||
return; | ||
return getResolved(name, options); | ||
@@ -778,0 +781,0 @@ } |
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); | ||
var _chunkDZERNDUJjs = require('./chunk-DZERNDUJ.js'); | ||
var _chunkR3CZJVQLjs = require('./chunk-R3CZJVQL.js'); | ||
require('./chunk-TMX2H7L5.js'); | ||
@@ -8,3 +8,3 @@ require('./chunk-6F4PWJZI.js'); | ||
// src/rollup.ts | ||
var rollup_default = _chunkDZERNDUJjs.unplugin_default.rollup; | ||
var rollup_default = _chunkR3CZJVQLjs.unplugin_default.rollup; | ||
@@ -11,0 +11,0 @@ |
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); | ||
var _chunkDZERNDUJjs = require('./chunk-DZERNDUJ.js'); | ||
var _chunkR3CZJVQLjs = require('./chunk-R3CZJVQL.js'); | ||
require('./chunk-TMX2H7L5.js'); | ||
@@ -8,3 +8,3 @@ require('./chunk-6F4PWJZI.js'); | ||
// src/vite.ts | ||
var vite_default = _chunkDZERNDUJjs.unplugin_default.vite; | ||
var vite_default = _chunkR3CZJVQLjs.unplugin_default.vite; | ||
@@ -11,0 +11,0 @@ |
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); | ||
var _chunkDZERNDUJjs = require('./chunk-DZERNDUJ.js'); | ||
var _chunkR3CZJVQLjs = require('./chunk-R3CZJVQL.js'); | ||
require('./chunk-TMX2H7L5.js'); | ||
@@ -8,3 +8,3 @@ require('./chunk-6F4PWJZI.js'); | ||
// src/webpack.ts | ||
var webpack_default = _chunkDZERNDUJjs.unplugin_default.webpack; | ||
var webpack_default = _chunkR3CZJVQLjs.unplugin_default.webpack; | ||
@@ -11,0 +11,0 @@ |
{ | ||
"name": "unplugin-vue-components", | ||
"version": "0.19.0", | ||
"version": "0.19.1", | ||
"packageManager": "pnpm@6.32.3", | ||
@@ -5,0 +5,0 @@ "description": "Components auto importing for Vue", |
@@ -230,6 +230,6 @@ # unplugin-vue-components | ||
// example of importing Vant | ||
(name) => { | ||
// where `name` is always CapitalCase | ||
if (name.startsWith('Van')) | ||
return { importName: name.slice(3), path: 'vant' } | ||
(componentName) => { | ||
// where `componentName` is always CapitalCase | ||
if (componentName.startsWith('Van')) | ||
return { name: componentName.slice(3), from: 'vant' } | ||
}, | ||
@@ -236,0 +236,0 @@ ], |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
154075
4611
0