Fuck all of these bundlers. Just use tsc

This commit is contained in:
Yura Dupyn 2026-04-06 21:18:45 +02:00
parent 884b70332b
commit 5df8b05274
2 changed files with 8 additions and 12 deletions

View file

@ -4,23 +4,19 @@
"description": "Source text manipulation and span rendering utilities",
"author": "Yura Dupyn <yura@dupyn.com>",
"license": "GPL-3.0-or-later",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"type": "module",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
"import": "./dist/index.js"
}
},
"scripts": {
"build": "unbuild",
"stub": "unbuild --stub",
"build": "tsc",
"typecheck": "tsc --noEmit"
},
"devDependencies": {
"typescript": "^5.4.0",
"unbuild": "^3.6.1"
"typescript": "^5.4.0"
}
}

View file

@ -1,12 +1,12 @@
{
"compilerOptions": {
"target": "ESNext",
"module": "ESNext",
"moduleResolution": "Bundler",
"module": "NodeNext",
"moduleResolution": "NodeNext",
"strict": true,
"skipLibCheck": true,
"noEmit": true,
"isolatedModules": true
"isolatedModules": true,
"outDir": "dist"
},
"include": ["src"]
}