Skip to content

Commit 1aed86f

Browse files
committed
chore: migrate build system from tsup to rollup
- Added rollup configuration for building the project with support for ESM and CJS formats. - Updated package.json to include rollup plugins for commonjs, node resolution, and esbuild. - Removed tsup configuration file and adjusted build scripts accordingly. - Introduced a new TypeScript configuration for generating ESM declarations. - Updated dependency checks in tests to reflect the transition to rollup.
1 parent 2ac1bb2 commit 1aed86f

File tree

6 files changed

+661
-886
lines changed

6 files changed

+661
-886
lines changed

config/tsconfig.decl-esm.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"extends": "../tsconfig.json",
3+
"compilerOptions": {
4+
"declaration": true,
5+
"emitDeclarationOnly": true,
6+
"module": "ESNext",
7+
"moduleResolution": "Bundler",
8+
"outDir": "../dist/modern",
9+
"rootDir": "../src"
10+
},
11+
"include": ["../src/**/*.ts"],
12+
"exclude": ["node_modules", "**/*.test.ts", "**/__test__"]
13+
}

0 commit comments

Comments
 (0)