feat!: switch to native ESM with NodeNext module resolution and .js import paths

BREAKING CHANGE: Consumers must use ESM-compatible environments.
All import paths now include .js extensions.
CommonJS (require) is no longer supported.
This commit is contained in:
2025-04-02 21:05:56 +02:00
committed by 20Max01
parent 9bd899581f
commit c6e9fbd2a3
16 changed files with 62 additions and 59 deletions

View File

@@ -7,13 +7,13 @@
"declaration": true,
"declarationMap": true,
"outDir": "./dist",
"module": "ESNext",
"target": "ES6",
"module": "NodeNext",
"target": "ES2020",
"allowJs": true,
"noUnusedLocals": false,
"noUnusedParameters": false,
"noImplicitAny": true,
"moduleResolution": "node",
"moduleResolution": "NodeNext",
"allowSyntheticDefaultImports": true,
"importHelpers": true,
"isolatedModules": true,