Skip to content

Commit

Permalink
Fix type error caused by referenced i18next types
Browse files Browse the repository at this point in the history
  • Loading branch information
eelkevdbos committed Sep 13, 2023
1 parent 00c2639 commit 0ec6329
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
10 changes: 8 additions & 2 deletions build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ await Bun.build({
minify: true,
target: 'node',
sourcemap: 'external',
external: ['i18next', 'elysia'],
plugins: [dts()],
external: ['elysia'],
plugins: [
dts({
libraries: {
inlinedLibraries: ['i18next'],
},
}),
],
})
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "elysia-i18next",
"version": "2.1.0",
"version": "2.1.1",
"description": "I18n for Elysia.js via i18next",
"repository": "https://github.com/eelkevdbos/elysia-i18next",
"author": {
Expand Down

0 comments on commit 0ec6329

Please sign in to comment.