From f69d8a1a1e9ec65e15e6ee07607b19d6a24b865f Mon Sep 17 00:00:00 2001 From: The-Best-Codes Date: Fri, 22 Nov 2024 17:05:07 -0600 Subject: [PATCH] Re-order exports in package.json --- package.json | 2 +- src/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 6056203..ed267f6 100644 --- a/package.json +++ b/package.json @@ -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/*": { diff --git a/src/index.ts b/src/index.ts index c53dc78..a530774 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,4 +1,4 @@ -import { Token} from "./types"; +import { Token } from "./types"; import { languages } from "./langs"; export function tokenize(code: string, language: string): Token[] {