amazingdudu / vite-plugin-file-list

Lists all file directories under the current project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vite-plugin-file-list npm

Lists all file directories and files under the current project, useful for multi-page applications.

Install

npm i vite-plugin-file-list -D

Usage

import fileList from 'vite-plugin-file-list';

export default {
    plugins: [fileList()]
};

Options

interface Options {
    /**
     * ignore path
     * @default [/^\.|node_modules/]
     */
    ignorePath?: RegExp[];
}

About

Lists all file directories under the current project


Languages

Language:TypeScript 86.9%Language:JavaScript 10.8%Language:Shell 2.3%