vite-plugin-html-file-list
v1.0.0
Published
Lists all html files under the current project, useful for multi-page applications
Downloads
3
Maintainers
Readme
vite-plugin-html-file-list
Lists all html files under the current project, useful for multi-page applications.
Install
npm i vite-plugin-html-file-list -D
Usage
import htmlFileList from 'vite-plugin-html-file-list';
export default {
plugins: [htmlFileList()]
};
Options
interface Options {
/**
* html file dir
* @default 'src'
*/
dir?: string;
}