1.0.0 • Published 3 years ago

vite-plugin-html-file-list v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

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;
}