unplugin-vue-components
Advanced tools
Comparing version 0.18.0 to 0.18.1
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); | ||
var _chunkNPCP6R3Ijs = require('./chunk-NPCP6R3I.js'); | ||
var _chunkX46PG6OBjs = require('./chunk-X46PG6OB.js'); | ||
require('./chunk-I3PYM4HQ.js'); | ||
@@ -8,3 +8,3 @@ require('./chunk-6F4PWJZI.js'); | ||
// src/esbuild.ts | ||
var esbuild_default = _chunkNPCP6R3Ijs.unplugin_default.esbuild; | ||
var esbuild_default = _chunkX46PG6OBjs.unplugin_default.esbuild; | ||
@@ -11,0 +11,0 @@ |
import { Options } from './types'; | ||
export { ComponentInfo, ComponentResolveResult, ComponentResolver, ComponentResolverFunction, ComponentResolverObject, ComponentsImportMap, ImportInfo, Matcher, Options, ResolvedOptions, SideEffectsInfo, SupportedTransformer, Transformer, UILibraryOptions } from './types'; | ||
export { ComponentInfo, ComponentResolveResult, ComponentResolver, ComponentResolverFunction, ComponentResolverObject, ComponentsImportMap, ImportInfo, Matcher, Options, PublicPluginAPI, ResolvedOptions, SideEffectsInfo, SupportedTransformer, Transformer, UILibraryOptions } from './types'; | ||
import * as unplugin from 'unplugin'; | ||
@@ -4,0 +4,0 @@ import '@rollup/pluginutils'; |
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); | ||
var _chunkNPCP6R3Ijs = require('./chunk-NPCP6R3I.js'); | ||
var _chunkX46PG6OBjs = require('./chunk-X46PG6OB.js'); | ||
@@ -15,2 +15,2 @@ | ||
exports.camelCase = _chunkI3PYM4HQjs.camelCase; exports.default = _chunkNPCP6R3Ijs.unplugin_default; exports.kebabCase = _chunkI3PYM4HQjs.kebabCase; exports.pascalCase = _chunkI3PYM4HQjs.pascalCase; | ||
exports.camelCase = _chunkI3PYM4HQjs.camelCase; exports.default = _chunkX46PG6OBjs.unplugin_default; exports.kebabCase = _chunkI3PYM4HQjs.kebabCase; exports.pascalCase = _chunkI3PYM4HQjs.pascalCase; |
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); | ||
var _chunkNPCP6R3Ijs = require('./chunk-NPCP6R3I.js'); | ||
var _chunkX46PG6OBjs = require('./chunk-X46PG6OB.js'); | ||
require('./chunk-I3PYM4HQ.js'); | ||
@@ -11,7 +11,7 @@ require('./chunk-6F4PWJZI.js'); | ||
config.plugins = config.plugins || []; | ||
config.plugins.unshift(_chunkNPCP6R3Ijs.unplugin_default.webpack(options)); | ||
config.plugins.unshift(_chunkX46PG6OBjs.unplugin_default.webpack(options)); | ||
}); | ||
this.nuxt.hook("vite:extend", async (vite) => { | ||
vite.config.plugins = vite.config.plugins || []; | ||
vite.config.plugins.push(_chunkNPCP6R3Ijs.unplugin_default.vite(options)); | ||
vite.config.plugins.push(_chunkX46PG6OBjs.unplugin_default.vite(options)); | ||
}); | ||
@@ -18,0 +18,0 @@ } |
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); | ||
var _chunkNPCP6R3Ijs = require('./chunk-NPCP6R3I.js'); | ||
var _chunkX46PG6OBjs = require('./chunk-X46PG6OB.js'); | ||
require('./chunk-I3PYM4HQ.js'); | ||
@@ -8,3 +8,3 @@ require('./chunk-6F4PWJZI.js'); | ||
// src/rollup.ts | ||
var rollup_default = _chunkNPCP6R3Ijs.unplugin_default.rollup; | ||
var rollup_default = _chunkX46PG6OBjs.unplugin_default.rollup; | ||
@@ -11,0 +11,0 @@ |
@@ -29,2 +29,12 @@ import { FilterPattern } from '@rollup/pluginutils'; | ||
declare type SupportedTransformer = 'vue3' | 'vue2'; | ||
interface PublicPluginAPI { | ||
/** | ||
* Resolves a component using the configured resolvers. | ||
*/ | ||
findComponent: (name: string, filename?: string) => Promise<ComponentInfo | undefined>; | ||
/** | ||
* Obtain an import statement for a resolved component. | ||
*/ | ||
stringifyImport: (info: ComponentInfo) => string; | ||
} | ||
/** | ||
@@ -133,2 +143,2 @@ * Plugin options. | ||
export { ComponentInfo, ComponentResolveResult, ComponentResolver, ComponentResolverFunction, ComponentResolverObject, ComponentsImportMap, ImportInfo, Matcher, Options, ResolvedOptions, SideEffectsInfo, SupportedTransformer, Transformer, UILibraryOptions }; | ||
export { ComponentInfo, ComponentResolveResult, ComponentResolver, ComponentResolverFunction, ComponentResolverObject, ComponentsImportMap, ImportInfo, Matcher, Options, PublicPluginAPI, ResolvedOptions, SideEffectsInfo, SupportedTransformer, Transformer, UILibraryOptions }; |
@@ -1,3 +0,3 @@ | ||
import * as vite from 'vite'; | ||
import { Options } from './types'; | ||
import { Plugin } from 'vite'; | ||
import { Options, PublicPluginAPI } from './types'; | ||
import '@rollup/pluginutils'; | ||
@@ -7,4 +7,6 @@ import 'unplugin'; | ||
declare const _default: (options?: Options | undefined) => vite.Plugin; | ||
declare const _default: (options?: Options | undefined) => Plugin & { | ||
api: PublicPluginAPI; | ||
}; | ||
export { _default as default }; |
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); | ||
var _chunkNPCP6R3Ijs = require('./chunk-NPCP6R3I.js'); | ||
var _chunkX46PG6OBjs = require('./chunk-X46PG6OB.js'); | ||
require('./chunk-I3PYM4HQ.js'); | ||
@@ -8,3 +8,3 @@ require('./chunk-6F4PWJZI.js'); | ||
// src/vite.ts | ||
var vite_default = _chunkNPCP6R3Ijs.unplugin_default.vite; | ||
var vite_default = _chunkX46PG6OBjs.unplugin_default.vite; | ||
@@ -11,0 +11,0 @@ |
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); | ||
var _chunkNPCP6R3Ijs = require('./chunk-NPCP6R3I.js'); | ||
var _chunkX46PG6OBjs = require('./chunk-X46PG6OB.js'); | ||
require('./chunk-I3PYM4HQ.js'); | ||
@@ -8,3 +8,3 @@ require('./chunk-6F4PWJZI.js'); | ||
// src/webpack.ts | ||
var webpack_default = _chunkNPCP6R3Ijs.unplugin_default.webpack; | ||
var webpack_default = _chunkX46PG6OBjs.unplugin_default.webpack; | ||
@@ -11,0 +11,0 @@ |
{ | ||
"name": "unplugin-vue-components", | ||
"version": "0.18.0", | ||
"version": "0.18.1", | ||
"description": "Components auto importing for Vue", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/antfu/unplugin-vue-components", |
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
280266
8157