Skip to content

Commit 7778b0f

Browse files
committed
🔧 revert back to tsc compile step
1 parent 1ee1e94 commit 7778b0f

File tree

4 files changed

+10
-35
lines changed

4 files changed

+10
-35
lines changed

jsr.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
"name": "@sftsrv/synk",
44
"version": "0.0.3",
55
"exports": {
6-
".": "./dist/index.js",
7-
"./in-memory": "./dist/in-memory/index.js",
8-
"./async": "./dist/async/index.js",
9-
"./indexed-db": "./dist/indexed-db/index.js",
10-
"./websocket": "./dist/websocket/index.js"
6+
".": "./src/index.ts",
7+
"./in-memory": "./src/in-memory/index.ts",
8+
"./async": "./src/async/index.ts",
9+
"./indexed-db": "./src/indexed-db/index.ts",
10+
"./websocket": "./src/websocket/index.ts"
1111
},
1212
"publish": {
13-
"exclude": ["!dist"]
13+
"exclude": ["!src"]
1414
}
1515
}

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
"name": "@sftsv/synk",
33
"version": "0.0.3",
44
"description": "A library for developing offline-first web applications based on async data replication and synchronization between clients and the server",
5-
"type": "module",
5+
"type": "commonjs",
66
"module": "dist/index.mjs",
77
"types": "dist/index.d.mts",
88
"scripts": {
9-
"build": "tsup",
9+
"build": "tsc",
1010
"test": "vitest",
1111
"test:ui": "vitest --ui",
1212
"tsc": "tsc",

tsconfig.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
22
"compilerOptions": {
33
"target": "es2016",
4-
"module": "commonjs",
4+
"module": "ESNext",
5+
"moduleResolution": "Bundler",
56
"esModuleInterop": true,
67
"forceConsistentCasingInFileNames": true,
78
"strict": true,

tsup.config.ts

-26
This file was deleted.

0 commit comments

Comments
 (0)