Skip to content

Commit 1a5db54

Browse files
authored
Merge pull request #675 from Zolwiastyl/master
converted preset-base from .js to .ts
2 parents 8a8b5f3 + e61fef2 commit 1a5db54

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)