Skip to content
This repository was archived by the owner on Apr 7, 2021. It is now read-only.

Commit c0292ca

Browse files
committed
fix: do not built package as esm
1 parent c4cad2e commit c0292ca

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@sketch-hq/sketch-file-format-ts': patch
3+
---
4+
5+
Fix problem where package was being built as ESM.

tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"esModuleInterop": true,
99
"outDir": "dist",
1010
"target": "ES6",
11+
"module": "CommonJS",
1112
"moduleResolution": "node"
1213
},
1314
"include": ["index.ts"],

0 commit comments

Comments
 (0)