unplugin-vue-components
Advanced tools
Comparing version 0.14.4 to 0.14.5
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); | ||
var _chunkCWE7HYKDjs = require('./chunk-CWE7HYKD.js'); | ||
var _chunkTAHMQRMEjs = require('./chunk-TAHMQRME.js'); | ||
@@ -8,3 +8,3 @@ | ||
var _chunk7WAA5D73js = require('./chunk-7WAA5D73.js'); | ||
var _chunk7V7UZ636js = require('./chunk-7V7UZ636.js'); | ||
require('./chunk-6F4PWJZI.js'); | ||
@@ -17,2 +17,2 @@ require('./chunk-BNJB64XR.js'); | ||
exports.camelCase = _chunk7WAA5D73js.camelCase; exports.default = _chunkCWE7HYKDjs.unplugin_default; exports.kebabCase = _chunk7WAA5D73js.kebabCase; exports.pascalCase = _chunk7WAA5D73js.pascalCase; | ||
exports.camelCase = _chunk7V7UZ636js.camelCase; exports.default = _chunkTAHMQRMEjs.unplugin_default; exports.kebabCase = _chunk7V7UZ636js.kebabCase; exports.pascalCase = _chunk7V7UZ636js.pascalCase; |
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); | ||
var _chunkCWE7HYKDjs = require('./chunk-CWE7HYKD.js'); | ||
require('./chunk-7WAA5D73.js'); | ||
var _chunkTAHMQRMEjs = require('./chunk-TAHMQRME.js'); | ||
require('./chunk-7V7UZ636.js'); | ||
require('./chunk-6F4PWJZI.js'); | ||
@@ -12,7 +12,7 @@ require('./chunk-BNJB64XR.js'); | ||
config.plugins = config.plugins || []; | ||
config.plugins.unshift(_chunkCWE7HYKDjs.unplugin_default.webpack(options)); | ||
config.plugins.unshift(_chunkTAHMQRMEjs.unplugin_default.webpack(options)); | ||
}); | ||
this.nuxt.hook("vite:extend", async (vite) => { | ||
vite.config.plugins = vite.config.plugins || []; | ||
vite.config.plugins.push(_chunkCWE7HYKDjs.unplugin_default.vite(options)); | ||
vite.config.plugins.push(_chunkTAHMQRMEjs.unplugin_default.vite(options)); | ||
}); | ||
@@ -19,0 +19,0 @@ } |
@@ -6,3 +6,3 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); | ||
var _chunk7WAA5D73js = require('./chunk-7WAA5D73.js'); | ||
var _chunk7V7UZ636js = require('./chunk-7V7UZ636.js'); | ||
@@ -262,3 +262,3 @@ | ||
if (!styleDir) | ||
styleDir = _chunk7WAA5D73js.kebabCase.call(void 0, compName); | ||
styleDir = _chunk7V7UZ636js.kebabCase.call(void 0, compName); | ||
return styleDir; | ||
@@ -329,5 +329,5 @@ } | ||
const { | ||
version = _chunk7WAA5D73js.getPkgVersion.call(void 0, "element-plus", "1.0.2") | ||
version = _chunk7V7UZ636js.getPkgVersion.call(void 0, "element-plus", "1.0.2") | ||
} = options; | ||
const partialName = _chunk7WAA5D73js.kebabCase.call(void 0, name.slice(2)); | ||
const partialName = _chunk7V7UZ636js.kebabCase.call(void 0, name.slice(2)); | ||
if (import_compare_versions.default.compare(version, "1.1.0-beta.1", ">=")) { | ||
@@ -375,3 +375,3 @@ return { | ||
const compName = name.slice(2); | ||
const partialName = _chunk7WAA5D73js.kebabCase.call(void 0, compName); | ||
const partialName = _chunk7V7UZ636js.kebabCase.call(void 0, compName); | ||
return { | ||
@@ -449,3 +449,3 @@ path: `element-ui/lib/${partialName}`, | ||
const compName = name.slice(2); | ||
const kebabCaseName = _chunk7WAA5D73js.kebabCase.call(void 0, compName); | ||
const kebabCaseName = _chunk7V7UZ636js.kebabCase.call(void 0, compName); | ||
const isCdk = cdkNames.includes(kebabCaseName); | ||
@@ -594,3 +594,3 @@ const packageName = isCdk ? "cdk" : "components"; | ||
path: "vant/es", | ||
sideEffects: importStyle ? `vant/es/${_chunk7WAA5D73js.kebabCase.call(void 0, partialName)}/style` : void 0 | ||
sideEffects: importStyle ? `vant/es/${_chunk7V7UZ636js.kebabCase.call(void 0, partialName)}/style` : void 0 | ||
}; | ||
@@ -614,5 +614,5 @@ } | ||
if (importStyle === "less" || importLess) | ||
sideEffects.push(`@varlet/ui/es/${_chunk7WAA5D73js.kebabCase.call(void 0, partialName)}/style/less.js`); | ||
sideEffects.push(`@varlet/ui/es/${_chunk7V7UZ636js.kebabCase.call(void 0, partialName)}/style/less.js`); | ||
else | ||
sideEffects.push(`@varlet/ui/es/${_chunk7WAA5D73js.kebabCase.call(void 0, partialName)}/style`); | ||
sideEffects.push(`@varlet/ui/es/${_chunk7V7UZ636js.kebabCase.call(void 0, partialName)}/style`); | ||
} | ||
@@ -652,3 +652,3 @@ return { | ||
if (compName.match(matcher.pattern)) { | ||
compPath = `${matcher.compDir}/${_chunk7WAA5D73js.kebabCase.call(void 0, compName)}.vue`; | ||
compPath = `${matcher.compDir}/${_chunk7V7UZ636js.kebabCase.call(void 0, compName)}.vue`; | ||
break; | ||
@@ -658,3 +658,3 @@ } | ||
if (!compPath) | ||
compPath = _chunk7WAA5D73js.kebabCase.call(void 0, compName); | ||
compPath = _chunk7V7UZ636js.kebabCase.call(void 0, compName); | ||
return compPath; | ||
@@ -713,3 +713,3 @@ } | ||
exports.AntDesignVueResolver = AntDesignVueResolver; exports.ElementPlusResolver = ElementPlusResolver; exports.ElementUiResolver = ElementUiResolver; exports.HeadlessUiResolver = HeadlessUiResolver; exports.IduxResolver = IduxResolver; exports.LibraryResolver = _chunk7WAA5D73js.LibraryResolver; exports.NaiveUiResolver = NaiveUiResolver; exports.PrimeVueResolver = PrimeVueResolver; exports.VantResolver = VantResolver; exports.VarletUIResolver = VarletUIResolver; exports.ViewUiResolver = ViewUiResolver; exports.VueUseComponentsResolver = VueUseComponentsResolver; exports.VuetifyResolver = VuetifyResolver; exports.tryLoadVeturTags = _chunk7WAA5D73js.tryLoadVeturTags; | ||
exports.AntDesignVueResolver = AntDesignVueResolver; exports.ElementPlusResolver = ElementPlusResolver; exports.ElementUiResolver = ElementUiResolver; exports.HeadlessUiResolver = HeadlessUiResolver; exports.IduxResolver = IduxResolver; exports.LibraryResolver = _chunk7V7UZ636js.LibraryResolver; exports.NaiveUiResolver = NaiveUiResolver; exports.PrimeVueResolver = PrimeVueResolver; exports.VantResolver = VantResolver; exports.VarletUIResolver = VarletUIResolver; exports.ViewUiResolver = ViewUiResolver; exports.VueUseComponentsResolver = VueUseComponentsResolver; exports.VuetifyResolver = VuetifyResolver; exports.tryLoadVeturTags = _chunk7V7UZ636js.tryLoadVeturTags; | ||
exports.default = module.exports; |
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); | ||
var _chunkCWE7HYKDjs = require('./chunk-CWE7HYKD.js'); | ||
require('./chunk-7WAA5D73.js'); | ||
var _chunkTAHMQRMEjs = require('./chunk-TAHMQRME.js'); | ||
require('./chunk-7V7UZ636.js'); | ||
require('./chunk-6F4PWJZI.js'); | ||
@@ -9,3 +9,3 @@ require('./chunk-BNJB64XR.js'); | ||
// src/rollup.ts | ||
var rollup_default = _chunkCWE7HYKDjs.unplugin_default.rollup; | ||
var rollup_default = _chunkTAHMQRMEjs.unplugin_default.rollup; | ||
@@ -12,0 +12,0 @@ |
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); | ||
var _chunkCWE7HYKDjs = require('./chunk-CWE7HYKD.js'); | ||
require('./chunk-7WAA5D73.js'); | ||
var _chunkTAHMQRMEjs = require('./chunk-TAHMQRME.js'); | ||
require('./chunk-7V7UZ636.js'); | ||
require('./chunk-6F4PWJZI.js'); | ||
@@ -9,3 +9,3 @@ require('./chunk-BNJB64XR.js'); | ||
// src/vite.ts | ||
var vite_default = _chunkCWE7HYKDjs.unplugin_default.vite; | ||
var vite_default = _chunkTAHMQRMEjs.unplugin_default.vite; | ||
@@ -12,0 +12,0 @@ |
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); | ||
var _chunkCWE7HYKDjs = require('./chunk-CWE7HYKD.js'); | ||
require('./chunk-7WAA5D73.js'); | ||
var _chunkTAHMQRMEjs = require('./chunk-TAHMQRME.js'); | ||
require('./chunk-7V7UZ636.js'); | ||
require('./chunk-6F4PWJZI.js'); | ||
@@ -9,3 +9,3 @@ require('./chunk-BNJB64XR.js'); | ||
// src/webpack.ts | ||
var webpack_default = _chunkCWE7HYKDjs.unplugin_default.webpack; | ||
var webpack_default = _chunkTAHMQRMEjs.unplugin_default.webpack; | ||
@@ -12,0 +12,0 @@ |
{ | ||
"name": "unplugin-vue-components", | ||
"version": "0.14.4", | ||
"version": "0.14.5", | ||
"description": "Components auto importing for Vue", | ||
@@ -69,3 +69,3 @@ "homepage": "https://github.com/antfu/unplugin-vue-components", | ||
"minimatch": "^3.0.4", | ||
"unplugin": "^0.2.3" | ||
"unplugin": "^0.2.4" | ||
}, | ||
@@ -77,18 +77,18 @@ "peerDependencies": { | ||
"@antfu/eslint-config": "^0.7.0", | ||
"@antfu/utils": "^0.2.4", | ||
"@antfu/utils": "^0.3.0", | ||
"@types/debug": "^4.1.7", | ||
"@types/jest": "^27.0.1", | ||
"@types/minimatch": "^3.0.5", | ||
"@types/node": "^16.6.1", | ||
"@typescript-eslint/eslint-plugin": "^4.29.1", | ||
"@types/node": "^16.7.6", | ||
"@typescript-eslint/eslint-plugin": "^4.29.3", | ||
"compare-versions": "^3.6.0", | ||
"eslint": "^7.32.0", | ||
"esno": "^0.9.1", | ||
"jest": "^27.0.6", | ||
"rollup": "^2.56.2", | ||
"ts-jest": "^27.0.4", | ||
"tsup": "^4.13.1", | ||
"typescript": "^4.3.5", | ||
"vite": "^2.4.4" | ||
"jest": "^27.1.0", | ||
"rollup": "^2.56.3", | ||
"ts-jest": "^27.0.5", | ||
"tsup": "^4.14.0", | ||
"typescript": "^4.4.2", | ||
"vite": "^2.5.1" | ||
} | ||
} |
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
126292
3758
+ Addedmagic-string@0.30.12(transitive)
- Removedmagic-string@0.30.13(transitive)
Updatedunplugin@^0.2.4