| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732 | import {  DIRECTIVE_IMPORT_PREFIX,  DISABLE_COMMENT,  getNameFromFilePath,  getTransformedPath,  matchGlobs,  normalizeComponetInfo,  parseId,  pascalCase,  resolveAlias,  shouldTransform,  stringifyComponentImport} from "./chunk-IN2W2XFC.mjs";import {  __spreadProps,  __spreadValues} from "./chunk-ZKNUHGJ4.mjs";// src/core/unplugin.tsimport { existsSync as existsSync2 } from "fs";import { createUnplugin } from "unplugin";import { createFilter } from "@rollup/pluginutils";import chokidar from "chokidar";// src/core/context.tsimport { relative as relative2 } from "path";import Debug5 from "debug";import { slash as slash3, throttle, toArray as toArray2 } from "@antfu/utils";// src/core/options.tsimport { join, resolve } from "path";import { slash, toArray } from "@antfu/utils";import { getPackageInfoSync, isPackageExists as isPackageExists2 } from "local-pkg";// src/core/type-imports/detect.tsimport { isPackageExists } from "local-pkg";import { notNullish } from "@antfu/utils";// src/core/type-imports/index.tsvar TypeImportPresets = [  {    from: "vue-router",    names: [      "RouterView",      "RouterLink"    ]  },  {    from: "vue-starport",    names: [      "Starport",      "StarportCarrier"    ]  }];// src/core/type-imports/detect.tsfunction detectTypeImports() {  return TypeImportPresets.map((i) => isPackageExists(i.from) ? i : void 0).filter(notNullish);}function resolveTypeImports(imports) {  return imports.flatMap((i) => i.names.map((n) => ({ from: i.from, name: n, as: n })));}// src/core/options.tsvar defaultOptions = {  dirs: "src/components",  extensions: "vue",  deep: true,  dts: isPackageExists2("typescript"),  directoryAsNamespace: false,  collapseSamePrefixes: false,  globalNamespaces: [],  resolvers: [],  importPathTransform: (v) => v,  allowOverrides: false};function normalizeResolvers(resolvers) {  return toArray(resolvers).flat().map((r) => typeof r === "function" ? { resolve: r, type: "component" } : r);}function resolveOptions(options, root) {  var _a;  const resolved = Object.assign({}, defaultOptions, options);  resolved.resolvers = normalizeResolvers(resolved.resolvers);  resolved.extensions = toArray(resolved.extensions);  if (resolved.globs) {    resolved.globs = toArray(resolved.globs).map((glob) => slash(resolve(root, glob)));    resolved.resolvedDirs = [];  } else {    const extsGlob = resolved.extensions.length === 1 ? resolved.extensions : `{${resolved.extensions.join(",")}}`;    resolved.dirs = toArray(resolved.dirs);    resolved.resolvedDirs = resolved.dirs.map((i) => slash(resolve(root, i)));    resolved.globs = resolved.resolvedDirs.map(      (i) => resolved.deep ? slash(join(i, `**/*.${extsGlob}`)) : slash(join(i, `*.${extsGlob}`))    );    if (!resolved.extensions.length)      throw new Error("[unplugin-vue-components] `extensions` option is required to search for components");  }  resolved.dts = !resolved.dts ? false : resolve(    root,    typeof resolved.dts === "string" ? resolved.dts : "components.d.ts"  );  if (!resolved.types && resolved.dts)    resolved.types = detectTypeImports();  resolved.types = resolved.types || [];  resolved.root = root;  resolved.version = (_a = resolved.version) != null ? _a : getVueVersion(root);  if (resolved.version < 2 || resolved.version >= 4)    throw new Error(`[unplugin-vue-components] unsupported version: ${resolved.version}`);  resolved.transformer = options.transformer || `vue${Math.trunc(resolved.version)}`;  resolved.directives = typeof options.directives === "boolean" ? options.directives : !resolved.resolvers.some((i) => i.type === "directive") ? false : resolved.version >= 3;  return resolved;}function getVueVersion(root) {  var _a;  const raw = ((_a = getPackageInfoSync("vue", { paths: [root] })) == null ? void 0 : _a.version) || "3";  const version = +raw.split(".").slice(0, 2).join(".");  if (version === 2.7)    return 2.7;  else if (version < 2.7)    return 2;  return 3;}// src/core/fs/glob.tsimport fg from "fast-glob";import Debug from "debug";var debug = Debug("unplugin-vue-components:glob");function searchComponents(ctx) {  var _a;  debug(`started with: [${ctx.options.globs.join(", ")}]`);  const root = ctx.root;  const files = fg.sync(ctx.options.globs, {    ignore: ["node_modules"],    onlyFiles: true,    cwd: root,    absolute: true  });  if (!files.length && !((_a = ctx.options.resolvers) == null ? void 0 : _a.length))    console.warn("[unplugin-vue-components] no components found");  debug(`${files.length} components found.`);  ctx.addComponents(files);}// src/core/declaration.tsimport { dirname, isAbsolute, relative } from "path";import { existsSync } from "fs";import { readFile, writeFile } from "fs/promises";import { notNullish as notNullish2, slash as slash2 } from "@antfu/utils";var multilineCommentsRE = new RegExp("\\/\\*.*?\\*\\/", "gms");var singlelineCommentsRE = /\/\/.*$/gm;function extractImports(code) {  return Object.fromEntries(Array.from(code.matchAll(/['"]?([^\s'"]+)['"]?\s*:\s*(.+?)[,;\n]/g)).map((i) => [i[1], i[2]]));}function parseDeclaration(code) {  var _a, _b;  if (!code)    return;  code = code.replace(multilineCommentsRE, "").replace(singlelineCommentsRE, "");  const imports = {    component: {},    directive: {}  };  const componentDeclaration = (_a = new RegExp("export\\s+interface\\s+GlobalComponents\\s*{(.*?)}", "s").exec(code)) == null ? void 0 : _a[0];  if (componentDeclaration)    imports.component = extractImports(componentDeclaration);  const directiveDeclaration = (_b = new RegExp("export\\s+interface\\s+ComponentCustomProperties\\s*{(.*?)}", "s").exec(code)) == null ? void 0 : _b[0];  if (directiveDeclaration)    imports.directive = extractImports(directiveDeclaration);  return imports;}function stringifyComponentInfo(filepath, { from: path, as: name, name: importName }, importPathTransform) {  if (!name)    return void 0;  path = getTransformedPath(path, importPathTransform);  const related = isAbsolute(path) ? `./${relative(dirname(filepath), path)}` : path;  const entry = `typeof import('${slash2(related)}')['${importName || "default"}']`;  return [name, entry];}function stringifyComponentsInfo(filepath, components, importPathTransform) {  return Object.fromEntries(    components.map((info) => stringifyComponentInfo(filepath, info, importPathTransform)).filter(notNullish2)  );}function getDeclarationImports(ctx, filepath) {  const component = stringifyComponentsInfo(filepath, [    ...Object.values(__spreadValues(__spreadValues({}, ctx.componentNameMap), ctx.componentCustomMap)),    ...resolveTypeImports(ctx.options.types)  ], ctx.options.importPathTransform);  const directive = stringifyComponentsInfo(    filepath,    Object.values(ctx.directiveCustomMap),    ctx.options.importPathTransform  );  if (Object.keys(component).length + Object.keys(directive).length === 0)    return;  return { component, directive };}function stringifyDeclarationImports(imports) {  return Object.entries(imports).sort(([a], [b]) => a.localeCompare(b)).map(([name, v]) => {    if (!/^\w+$/.test(name))      name = `'${name}'`;    return `${name}: ${v}`;  });}function getDeclaration(ctx, filepath, originalImports) {  const imports = getDeclarationImports(ctx, filepath);  if (!imports)    return;  const declarations = {    component: stringifyDeclarationImports(__spreadValues(__spreadValues({}, originalImports == null ? void 0 : originalImports.component), imports.component)),    directive: stringifyDeclarationImports(__spreadValues(__spreadValues({}, originalImports == null ? void 0 : originalImports.directive), imports.directive))  };  const head = ctx.options.version === 2.7 ? `export {}declare module 'vue' {` : `import '@vue/runtime-core'export {}declare module '@vue/runtime-core' {`;  let code = `// generated by unplugin-vue-components// We suggest you to commit this file into source control// Read more: https://github.com/vuejs/core/pull/3399${head}`;  if (Object.keys(declarations.component).length > 0) {    code += `  export interface GlobalComponents {    ${declarations.component.join("\n    ")}  }`;  }  if (Object.keys(declarations.directive).length > 0) {    code += `  export interface ComponentCustomProperties {    ${declarations.directive.join("\n    ")}  }`;  }  code += "\n}\n";  return code;}async function writeDeclaration(ctx, filepath, removeUnused = false) {  const originalContent = existsSync(filepath) ? await readFile(filepath, "utf-8") : "";  const originalImports = removeUnused ? void 0 : parseDeclaration(originalContent);  const code = getDeclaration(ctx, filepath, originalImports);  if (!code)    return;  if (code !== originalContent)    await writeFile(filepath, code, "utf-8");}// src/core/transformer.tsimport Debug4 from "debug";import MagicString from "magic-string";// src/core/transforms/component.tsimport Debug2 from "debug";var debug2 = Debug2("unplugin-vue-components:transform:component");var resolveVue2 = (code, s) => {  const results = [];  for (const match of code.matchAll(/\b(_c|h)\([\s\n\t]*['"](.+?)["']([,)])/g)) {    const [full, renderFunctionName, matchedName, append] = match;    if (match.index != null && matchedName && !matchedName.startsWith("_")) {      const start = match.index;      const end = start + full.length;      results.push({        rawName: matchedName,        replace: (resolved) => s.overwrite(start, end, `${renderFunctionName}(${resolved}${append}`)      });    }  }  return results;};var resolveVue3 = (code, s) => {  const results = [];  for (const match of code.matchAll(/_resolveComponent[0-9]*\("(.+?)"\)/g)) {    const matchedName = match[1];    if (match.index != null && matchedName && !matchedName.startsWith("_")) {      const start = match.index;      const end = start + match[0].length;      results.push({        rawName: matchedName,        replace: (resolved) => s.overwrite(start, end, resolved)      });    }  }  return results;};async function transformComponent(code, transformer2, s, ctx, sfcPath) {  let no = 0;  const results = transformer2 === "vue2" ? resolveVue2(code, s) : resolveVue3(code, s);  for (const { rawName, replace } of results) {    debug2(`| ${rawName}`);    const name = pascalCase(rawName);    ctx.updateUsageMap(sfcPath, [name]);    const component = await ctx.findComponent(name, "component", [sfcPath]);    if (component) {      const varName = `__unplugin_components_${no}`;      s.prepend(`${stringifyComponentImport(__spreadProps(__spreadValues({}, component), { as: varName }), ctx)};`);      no += 1;      replace(varName);    }  }  debug2(`^ (${no})`);}// src/core/transforms/directive/index.tsimport Debug3 from "debug";// src/core/transforms/directive/vue2.tsimport { importModule, isPackageExists as isPackageExists3 } from "local-pkg";var getRenderFnStart = (program) => {  var _a, _b;  const renderFn = program.body.find(    (node) => node.type === "VariableDeclaration" && node.declarations[0].id.type === "Identifier" && ["render", "_sfc_render"].includes(node.declarations[0].id.name)  );  const start = (_b = (_a = renderFn == null ? void 0 : renderFn.declarations[0].init) == null ? void 0 : _a.body) == null ? void 0 : _b.start;  if (start === null || start === void 0)    throw new Error("[unplugin-vue-components:directive] Cannot find render function position.");  return start + 1;};async function resolveVue22(code, s) {  var _a, _b, _c;  if (!isPackageExists3("@babel/parser"))    throw new Error('[unplugin-vue-components:directive] To use Vue 2 directive you will need to install Babel first: "npm install -D @babel/parser"');  const { parse } = await importModule("@babel/parser");  const { program } = parse(code, {    sourceType: "module"  });  const nodes = [];  const { walk } = await import("./src-WRIQ2NEL.mjs");  walk(program, {    enter(node) {      if (node.type === "CallExpression")        nodes.push(node);    }  });  if (nodes.length === 0)    return [];  let _renderStart;  const getRenderStart = () => {    if (_renderStart !== void 0)      return _renderStart;    return _renderStart = getRenderFnStart(program);  };  const results = [];  for (const node of nodes) {    const { callee, arguments: args } = node;    if (callee.type !== "Identifier" || callee.name !== "_c" || ((_a = args[1]) == null ? void 0 : _a.type) !== "ObjectExpression")      continue;    const directives = (_b = args[1].properties.find(      (property) => property.type === "ObjectProperty" && property.key.type === "Identifier" && property.key.name === "directives"    )) == null ? void 0 : _b.value;    if (!directives || directives.type !== "ArrayExpression")      continue;    for (const directive of directives.elements) {      if ((directive == null ? void 0 : directive.type) !== "ObjectExpression")        continue;      const nameNode = (_c = directive.properties.find(        (p) => p.type === "ObjectProperty" && p.key.type === "Identifier" && p.key.name === "name"      )) == null ? void 0 : _c.value;      if ((nameNode == null ? void 0 : nameNode.type) !== "StringLiteral")        continue;      const name = nameNode.value;      if (!name || name.startsWith("_"))        continue;      results.push({        rawName: name,        replace: (resolved) => {          s.prependLeft(getRenderStart(), `this.$options.directives["${name}"] = ${resolved};`);        }      });    }  }  return results;}// src/core/transforms/directive/vue3.tsfunction resolveVue32(code, s) {  const results = [];  for (const match of code.matchAll(/_resolveDirective\("(.+?)"\)/g)) {    const matchedName = match[1];    if (match.index != null && matchedName && !matchedName.startsWith("_")) {      const start = match.index;      const end = start + match[0].length;      results.push({        rawName: matchedName,        replace: (resolved) => s.overwrite(start, end, resolved)      });    }  }  return results;}// src/core/transforms/directive/index.tsvar debug3 = Debug3("unplugin-vue-components:transform:directive");async function transformDirective(code, transformer2, s, ctx, sfcPath) {  let no = 0;  const results = await (transformer2 === "vue2" ? resolveVue22(code, s) : resolveVue32(code, s));  for (const { rawName, replace } of results) {    debug3(`| ${rawName}`);    const name = `${DIRECTIVE_IMPORT_PREFIX}${pascalCase(rawName)}`;    ctx.updateUsageMap(sfcPath, [name]);    const directive = await ctx.findComponent(name, "directive", [sfcPath]);    if (!directive)      continue;    const varName = `__unplugin_directives_${no}`;    s.prepend(`${stringifyComponentImport(__spreadProps(__spreadValues({}, directive), { as: varName }), ctx)};`);    no += 1;    replace(varName);  }  debug3(`^ (${no})`);}// src/core/transformer.tsvar debug4 = Debug4("unplugin-vue-components:transformer");function transformer(ctx, transformer2) {  return async (code, id, path) => {    ctx.searchGlob();    const sfcPath = ctx.normalizePath(path);    debug4(sfcPath);    const s = new MagicString(code);    await transformComponent(code, transformer2, s, ctx, sfcPath);    if (ctx.options.directives)      await transformDirective(code, transformer2, s, ctx, sfcPath);    s.prepend(DISABLE_COMMENT);    const result = { code: s.toString() };    if (ctx.sourcemap)      result.map = s.generateMap({ source: id, includeContent: true });    return result;  };}// src/core/context.tsvar debug5 = {  components: Debug5("unplugin-vue-components:context:components"),  search: Debug5("unplugin-vue-components:context:search"),  hmr: Debug5("unplugin-vue-components:context:hmr"),  decleration: Debug5("unplugin-vue-components:decleration"),  env: Debug5("unplugin-vue-components:env")};var Context = class {  constructor(rawOptions) {    this.rawOptions = rawOptions;    this.transformer = void 0;    this._componentPaths = /* @__PURE__ */ new Set();    this._componentNameMap = {};    this._componentUsageMap = {};    this._componentCustomMap = {};    this._directiveCustomMap = {};    this.root = process.cwd();    this.sourcemap = true;    this.alias = {};    this._searched = false;    this.options = resolveOptions(rawOptions, this.root);    this.generateDeclaration = throttle(500, this._generateDeclaration.bind(this), { noLeading: false });    this.setTransformer(this.options.transformer);  }  setRoot(root) {    if (this.root === root)      return;    debug5.env("root", root);    this.root = root;    this.options = resolveOptions(this.rawOptions, this.root);  }  setTransformer(name) {    debug5.env("transformer", name);    this.transformer = transformer(this, name || "vue3");  }  transform(code, id) {    const { path, query } = parseId(id);    return this.transformer(code, id, path, query);  }  setupViteServer(server) {    if (this._server === server)      return;    this._server = server;    this.setupWatcher(server.watcher);  }  setupWatcher(watcher) {    const { globs } = this.options;    watcher.on("unlink", (path) => {      if (!matchGlobs(path, globs))        return;      path = slash3(path);      this.removeComponents(path);      this.onUpdate(path);    });    watcher.on("add", (path) => {      if (!matchGlobs(path, globs))        return;      path = slash3(path);      this.addComponents(path);      this.onUpdate(path);    });  }  setupWatcherWebpack(watcher, emitUpdate) {    const { globs } = this.options;    watcher.on("unlink", (path) => {      if (!matchGlobs(path, globs))        return;      path = slash3(path);      this.removeComponents(path);      emitUpdate(path, "unlink");    });    watcher.on("add", (path) => {      if (!matchGlobs(path, globs))        return;      path = slash3(path);      this.addComponents(path);      emitUpdate(path, "add");    });  }  updateUsageMap(path, paths) {    if (!this._componentUsageMap[path])      this._componentUsageMap[path] = /* @__PURE__ */ new Set();    paths.forEach((p) => {      this._componentUsageMap[path].add(p);    });  }  addComponents(paths) {    debug5.components("add", paths);    const size = this._componentPaths.size;    toArray2(paths).forEach((p) => this._componentPaths.add(p));    if (this._componentPaths.size !== size) {      this.updateComponentNameMap();      return true;    }    return false;  }  addCustomComponents(info) {    if (info.as)      this._componentCustomMap[info.as] = info;  }  addCustomDirectives(info) {    if (info.as)      this._directiveCustomMap[info.as] = info;  }  removeComponents(paths) {    debug5.components("remove", paths);    const size = this._componentPaths.size;    toArray2(paths).forEach((p) => this._componentPaths.delete(p));    if (this._componentPaths.size !== size) {      this.updateComponentNameMap();      return true;    }    return false;  }  onUpdate(path) {    this.generateDeclaration();    if (!this._server)      return;    const payload = {      type: "update",      updates: []    };    const timestamp = +new Date();    const name = pascalCase(getNameFromFilePath(path, this.options));    Object.entries(this._componentUsageMap).forEach(([key, values]) => {      if (values.has(name)) {        const r = `/${slash3(relative2(this.root, key))}`;        payload.updates.push({          acceptedPath: r,          path: r,          timestamp,          type: "js-update"        });      }    });    if (payload.updates.length)      this._server.ws.send(payload);  }  updateComponentNameMap() {    this._componentNameMap = {};    Array.from(this._componentPaths).forEach((path) => {      const name = pascalCase(getNameFromFilePath(path, this.options));      if (this._componentNameMap[name] && !this.options.allowOverrides) {        console.warn(`[unplugin-vue-components] component "${name}"(${path}) has naming conflicts with other components, ignored.`);        return;      }      this._componentNameMap[name] = {        as: name,        from: path      };    });  }  async findComponent(name, type, excludePaths = []) {    let info = this._componentNameMap[name];    if (info && !excludePaths.includes(info.from) && !excludePaths.includes(info.from.slice(1)))      return info;    for (const resolver of this.options.resolvers) {      if (resolver.type !== type)        continue;      const result = await resolver.resolve(type === "directive" ? name.slice(DIRECTIVE_IMPORT_PREFIX.length) : name);      if (!result)        continue;      if (typeof result === "string") {        info = {          as: name,          from: result        };      } else {        info = __spreadValues({          as: name        }, normalizeComponetInfo(result));      }      if (type === "component")        this.addCustomComponents(info);      else if (type === "directive")        this.addCustomDirectives(info);      return info;    }    return void 0;  }  normalizePath(path) {    var _a, _b, _c;    return resolveAlias(path, ((_b = (_a = this.viteConfig) == null ? void 0 : _a.resolve) == null ? void 0 : _b.alias) || ((_c = this.viteConfig) == null ? void 0 : _c.alias) || []);  }  relative(path) {    if (path.startsWith("/") && !path.startsWith(this.root))      return slash3(path.slice(1));    return slash3(relative2(this.root, path));  }  searchGlob() {    if (this._searched)      return;    searchComponents(this);    debug5.search(this._componentNameMap);    this._searched = true;  }  _generateDeclaration(removeUnused = !this._server) {    if (!this.options.dts)      return;    debug5.decleration("generating");    return writeDeclaration(this, this.options.dts, removeUnused);  }  get componentNameMap() {    return this._componentNameMap;  }  get componentCustomMap() {    return this._componentCustomMap;  }  get directiveCustomMap() {    return this._directiveCustomMap;  }};// src/core/unplugin.tsvar PLUGIN_NAME = "unplugin:webpack";var unplugin_default = createUnplugin((options = {}) => {  const filter = createFilter(    options.include || [/\.vue$/, /\.vue\?vue/, /\.vue\?v=/],    options.exclude || [/[\\/]node_modules[\\/]/, /[\\/]\.git[\\/]/, /[\\/]\.nuxt[\\/]/]  );  const ctx = new Context(options);  const api = {    async findComponent(name, filename) {      return await ctx.findComponent(name, "component", filename ? [filename] : []);    },    stringifyImport(info) {      return stringifyComponentImport(info, ctx);    }  };  return {    name: "unplugin-vue-components",    enforce: "post",    api,    transformInclude(id) {      return filter(id);    },    async transform(code, id) {      if (!shouldTransform(code))        return null;      try {        const result = await ctx.transform(code, id);        ctx.generateDeclaration();        return result;      } catch (e) {        this.error(e);      }    },    vite: {      configResolved(config) {        ctx.setRoot(config.root);        ctx.sourcemap = true;        if (config.plugins.find((i) => i.name === "vite-plugin-vue2"))          ctx.setTransformer("vue2");        if (ctx.options.dts) {          ctx.searchGlob();          if (!existsSync2(ctx.options.dts))            ctx.generateDeclaration();        }        if (config.build.watch && config.command === "build")          ctx.setupWatcher(chokidar.watch(ctx.options.globs));      },      configureServer(server) {        ctx.setupViteServer(server);      }    },    webpack(compiler) {      let watcher;      let fileDepQueue = [];      compiler.hooks.watchRun.tap(PLUGIN_NAME, () => {        if (!watcher && compiler.watching) {          watcher = compiler.watching;          ctx.setupWatcherWebpack(chokidar.watch(ctx.options.globs), (path, type) => {            fileDepQueue.push({ path, type });            process.nextTick(() => {              watcher.invalidate();            });          });        }      });      compiler.hooks.compilation.tap(PLUGIN_NAME, (compilation) => {        if (fileDepQueue.length) {          fileDepQueue.forEach(({ path, type }) => {            if (type === "unlink")              compilation.fileDependencies.delete(path);            else              compilation.fileDependencies.add(path);          });          fileDepQueue = [];        }      });    }  };});export {  unplugin_default};
 |