From 01ea267db56af555bee1632e85c17c10ff68123a Mon Sep 17 00:00:00 2001 From: Klaus Date: Tue, 23 Jan 2024 21:14:05 -0300 Subject: [PATCH] the latest esbuild forces a `__esModule: true` in the output so we need a `export default` in the index --- src/index.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/index.ts b/src/index.ts index 0f101a2..67cb164 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,3 +1,6 @@ export * from './parser' +import { ParserError, parse, tokenize, visit } from './parser' export type { ParseOptions } from './types' + +export default { ParserError, parse, tokenize, visit }