@kimesh/kit 0.2.12 → 0.2.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.mjs +1 -1
  2. package/package.json +4 -4
package/dist/index.mjs CHANGED
@@ -3047,7 +3047,7 @@ export default createMiddlewarePlugin({
3047
3047
  server.watcher.on("unlink", handleWatchEvent("unlink"));
3048
3048
  server.middlewares.use(async (req, res, next) => {
3049
3049
  const url = req.url || "/";
3050
- if (url.includes(".") || url.startsWith("/@") || url.startsWith("/__") || url.startsWith("/node_modules")) return next();
3050
+ if (url.split("?")[0].includes(".") || url.startsWith("/@") || url.startsWith("/__") || url.startsWith("/node_modules")) return next();
3051
3051
  try {
3052
3052
  const html = readFileSync(join$1(state.generatedDir, "index.html"), "utf-8");
3053
3053
  const transformed = await server.transformIndexHtml(url, html);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kimesh/kit",
3
- "version": "0.2.12",
3
+ "version": "0.2.13",
4
4
  "description": "Build-time engine for Kimesh framework",
5
5
  "repository": {
6
6
  "type": "git",
@@ -27,9 +27,9 @@
27
27
  "test:watch": "vitest"
28
28
  },
29
29
  "dependencies": {
30
- "@kimesh/auto-import": "0.2.12",
31
- "@kimesh/layers": "0.2.12",
32
- "@kimesh/router-generator": "0.2.12",
30
+ "@kimesh/auto-import": "0.2.13",
31
+ "@kimesh/layers": "0.2.13",
32
+ "@kimesh/router-generator": "0.2.13",
33
33
  "@vitejs/plugin-vue": "^6.0.3",
34
34
  "c12": "^3.3.3",
35
35
  "consola": "^3.4.2",