vite-pug-static-builder
Version:
Vite + Pugを使用した静的サイトビルダー - 複数のPugファイルを静的HTMLとしてビルドするViteプラグイン
19 lines • 598 B
TypeScript
import { type BuildSettings } from './build.js';
import { type ServeSettings } from './serve.js';
/**
* プラグイン設定
*/
interface Settings {
/** ビルド時の設定 */
readonly build?: BuildSettings;
/** 開発サーバー時の設定 */
readonly serve?: ServeSettings;
}
/**
* Vite Pug静的サイトプラグイン
* @param userSettings - ユーザー設定
* @returns Viteプラグイン配列
*/
declare const vitePluginPugStatic: (userSettings?: Settings) => import("vite").Plugin<any>[];
export default vitePluginPugStatic;
//# sourceMappingURL=index.d.ts.map