vite-plugin-html-template-mpa
Advanced tools
Comparing version
@@ -184,3 +184,3 @@ var __create = Object.create; | ||
]); | ||
const isSpa = isEmptyObject(options.pages); | ||
const isSpa = !options.pages || isEmptyObject(options.pages); | ||
if (isSpa) { | ||
@@ -287,3 +287,2 @@ return commonOptions; | ||
return () => { | ||
console.log("===="); | ||
server.middlewares.use(async (req, res, next) => { | ||
@@ -290,0 +289,0 @@ if (!req.url?.endsWith(".html") && req.url !== "/") { |
{ | ||
"name": "vite-plugin-html-template-mpa", | ||
"version": "1.0.18", | ||
"version": "1.0.19", | ||
"description": "html template map for vite", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
47258
-0.05%872
-0.23%