Skip to content

Commit

Permalink
make serverBuildFile option less restrictive (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
rphlmr authored Nov 9, 2024
1 parent 0ee11d2 commit 9703d55
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-router-hono-server",
"version": "1.0.0",
"version": "1.1.0",
"description": "This package includes helper function to create an Hono app in your entry.server.tsx file. It allows you to customize your server.",
"exports": {
"./node": {
Expand Down
2 changes: 1 addition & 1 deletion src/node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export type HonoServerOptions<E extends Env = BlankEnv> = {
*
* See https://remix.run/docs/en/main/file-conventions/vite-config#serverbuildfile
*/
serverBuildFile?: `${string}.js`;
serverBuildFile?: `${string}.js` | `${string}.mjs` | `${string}.cjs`;
/**
* The directory where the assets are located (defined in vite.config, build.assetsDir)
*
Expand Down

0 comments on commit 9703d55

Please sign in to comment.