UNPKG

vite-plugin-page-html

Version:

A simple and flexible Vite plugin for processing HTML pages, integrating multi-page application (MPA) configuration, EJS template support, and HTML compression.

73 lines 1.85 kB
{ "name": "vite-plugin-page-html", "version": "3.3.1", "description": "A simple and flexible Vite plugin for processing HTML pages, integrating multi-page application (MPA) configuration, EJS template support, and HTML compression.", "type": "module", "main": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { ".": { "import": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }, "require": { "types": "./dist/index.d.cts", "default": "./dist/index.cjs" } } }, "files": [ "dist" ], "engines": { "node": ">=16.0.0" }, "keywords": [ "vite", "mpa", "multi-page", "vite-mpa", "vite-ejs", "vite-template", "vite-html", "vite-pages", "vite-multi-page", "vite-external", "vite-cdn", "vite-plugin" ], "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" }, "homepage": "https://github.com/Marinerer/vite-plugins", "repository": { "type": "git", "url": "git+https://github.com/Marinerer/vite-plugins.git" }, "author": "Mervin <mengqing723@gmail.com>", "license": "MIT", "bugs": { "url": "https://github.com/Marinerer/vite-plugins/issues" }, "dependencies": { "@types/connect-history-api-fallback": "^1.5.4", "@types/ejs": "^3.1.5", "@types/fs-extra": "^11.0.4", "connect-history-api-fallback": "^2.0.0", "diy-log": "^2.5.1", "ejs": "^3.1.10", "fs-extra": "^11.2.0", "pathe": "^1.1.2", "vite-plugin-minify-html": "^1.0.2" }, "peerDependencies": { "vite": ">=2.0.0" }, "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "dev": "tsup src/index.ts --watch --ignore-watch examples", "build": "tsup src/index.ts --format=esm,cjs --dts --clean" } }