Lists all file directories and files under the current project, Useful for multi-page applications.
npm i vite-plugin-file-list -D
import fileList from 'vite-plugin-file-list';
export default {
plugins: [fileList()]
};
interface Options {
/**
* ignore path
* @default [/^\.|node_modules/]
*/
ignorePath?: RegExp[];
}