Skip to content

Commit

Permalink
Re-order exports in package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
The-Best-Codes committed Nov 22, 2024
1 parent 2ed4a0b commit f69d8a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
"exports": {
".": {
"types": "./dist/index.d.ts",
"browser": "./dist/index.browser.js",
"import": "./dist/index.js",
"require": "./dist/index.cjs",
"browser": "./dist/index.browser.js",
"default": "./dist/index.js"
},
"./themes/*": {
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Token} from "./types";
import { Token } from "./types";
import { languages } from "./langs";

export function tokenize(code: string, language: string): Token[] {
Expand Down

0 comments on commit f69d8a1

Please sign in to comment.