diff options
author | 2022-01-19 23:07:03 -0800 | |
---|---|---|
committer | 2022-01-19 23:07:03 -0800 | |
commit | a09b99565138bb4bc73a5328397428fb5025817b (patch) | |
tree | 3412ae330b4a6078173d0048665b9d547b3d718b /src/api/schema.js | |
parent | 4098484ff5d1c66a5f146e773a9be25cbcd2a1f4 (diff) | |
download | bun-a09b99565138bb4bc73a5328397428fb5025817b.tar.gz bun-a09b99565138bb4bc73a5328397428fb5025817b.tar.zst bun-a09b99565138bb4bc73a5328397428fb5025817b.zip |
Bun.Transpiler – API for scanning imports/exports of JSX/TSX/TS/JS files
Diffstat (limited to 'src/api/schema.js')
-rw-r--r-- | src/api/schema.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/api/schema.js b/src/api/schema.js index 8b2043e9c..8339484da 100644 --- a/src/api/schema.js +++ b/src/api/schema.js @@ -534,17 +534,21 @@ const Platform = { 1: 1, 2: 2, 3: 3, + 4: 4, browser: 1, node: 2, bun: 3, + bun_macro: 4, }; const PlatformKeys = { 1: "browser", 2: "node", 3: "bun", + 4: "bun_macro", browser: "browser", node: "node", bun: "bun", + bun_macro: "bun_macro", }; const CSSInJSBehavior = { 1: 1, |