Skip to content

Commit e61fef2

Browse files
committed
converted preset-base from .js to .ts
1 parent 11a3024 commit e61fef2

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

packages/preset-base/package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,11 @@
77
"license": "MIT",
88
"repository": "system-ui/theme-ui",
99
"scripts": {
10-
"prepare": "microbundle --no-compress",
11-
"watch": "microbundle watch --no-compress"
10+
"prepare": "microbundle --no-compress --tsconfig tsconfig.json",
11+
"watch": "microbundle watch --no-compress --tsconfig tsconfig.json"
1212
},
13+
"types": "dist/index.d.ts",
14+
"source": "src/index.ts",
1315
"publishConfig": {
1416
"access": "public"
1517
}
File renamed without changes.

packages/preset-base/tsconfig.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"compilerOptions": {
3+
"resolveJsonModule": true,
4+
"esModuleInterop": true,
5+
"moduleResolution": "node",
6+
"strict": true
7+
}
8+
}

0 commit comments

Comments
 (0)