Skip to content

Commit

Permalink
🔧 Configure tsup
Browse files Browse the repository at this point in the history
  • Loading branch information
coyotte508 committed Nov 10, 2023
1 parent 36be99f commit 6d83643
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
5 changes: 0 additions & 5 deletions packages/languages/index.ts

This file was deleted.

2 changes: 1 addition & 1 deletion packages/languages/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"format": "prettier --write .",
"format:check": "prettier --check .",
"prepublishOnly": "pnpm run build",
"build": "tsup",
"build": "tsup src/index.ts --format cjs,esm --clean",
"test": "vitest run",
"type-check": "tsc"
},
Expand Down
5 changes: 5 additions & 0 deletions packages/languages/src/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
export type { Language } from "./types";
export { language } from "./language";
export { wikiLink } from "./wikiLink";
export { LANGUAGES_ISO_639_1 } from "./languages_iso_639_1";
export { LANGUAGES_ISO_639_3 } from "./languages_iso_639_3";

0 comments on commit 6d83643

Please sign in to comment.