[X] I have searched existing issues to ensure the bug has not already been reported
Versions
in your latest version 4.2.0
Description
So right now I use Elysia.js to develop my application, and then I install @elysiajs/html and use it as documentation standard. After I wrote the code, it was supposed to work perfectly, but when I see the console, there is an error like this:
1 | (function (entry, fetcher)
^
SyntaxError: export 'Html' not found in '@kitajs/html'
This error appears in the latest version of @kitajs/html only. When I downgraded it to 4.1.0, it worked completely fine.
Steps to Reproduce
import { Elysia } from "elysia";
import { staticPlugin } from "@elysiajs/static";
import { html } from "@elysiajs/html";
const app = new Elysia()
.use(html())
.use(
staticPlugin({
prefix: "/",
})
)
.get("/", () =>
Bun.file(
"/c/Users/Martio Husein Samsu/Documents/Perkuliahan/Semester 7/Workspace/BUN/crud-app/views/home.html"
)
)
.listen(3000);
console.log(
`🦊 Elysia is running at ${app.server?.hostname}:${app.server?.port}`
);
Prerequisites
Versions
in your latest version 4.2.0
Description
So right now I use Elysia.js to develop my application, and then I install @elysiajs/html and use it as documentation standard. After I wrote the code, it was supposed to work perfectly, but when I see the console, there is an error like this:
This error appears in the latest version of @kitajs/html only. When I downgraded it to 4.1.0, it worked completely fine.
Steps to Reproduce
Expected Behavior
No error