feat: add v2 codemod draft (#1950)
This commit is contained in:
parent
4f226c1e35
commit
48251fe2cb
1 changed files with 9239 additions and 1 deletions
16
packages/codemod/tsdown.config.ts
Normal file
16
packages/codemod/tsdown.config.ts
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
import { defineConfig } from 'tsdown';
|
||||
|
||||
export default defineConfig({
|
||||
failOnWarn: 'ci-only',
|
||||
entry: ['src/cli.ts', 'src/index.ts'],
|
||||
format: ['esm'],
|
||||
outDir: 'dist',
|
||||
clean: true,
|
||||
sourcemap: true,
|
||||
target: 'esnext',
|
||||
platform: 'node',
|
||||
shims: true,
|
||||
dts: {
|
||||
resolver: 'tsc'
|
||||
}
|
||||
});
|
||||
Loading…
Reference in a new issue