build(tooling): modernize Node and TypeScript setup
This commit is contained in:
1 parent
58d77b9771
commit
d750e5fe3f
10 files changed
+1403
-592
No files matched your search
+6
-1
@@ -3,7 +3,12 @@ import { defineConfig } from 'tsup';
|
||||
export default defineConfig({
|
||||
format: ['cjs', 'esm'],
|
||||
entry: ['./src/index.ts'],
|
||||
dts: false,
|
||||
dts: {
|
||||
compilerOptions: {
|
||||
// tsup's declaration bundler still sets the removed baseUrl option internally.
|
||||
ignoreDeprecations: '6.0',
|
||||
},
|
||||
},
|
||||
shims: true,
|
||||
skipNodeModulesBundle: true,
|
||||
clean: true,
|
||||
|
||||
Reference in new issue
Block a user