Switched from eslint and prettier to biome
This commit is contained in:
@@ -1,19 +1,19 @@
|
||||
import { defineConfig } from "tsdown";
|
||||
import { peerDependencies } from "./package.json" with { type: "json" };
|
||||
import { defineConfig } from 'tsdown'
|
||||
import { peerDependencies } from './package.json' with { type: 'json' }
|
||||
|
||||
export default defineConfig((options) => {
|
||||
const dev = !!options.watch;
|
||||
return {
|
||||
entry: ["src/**/*.(ts|js)"],
|
||||
format: ["esm"],
|
||||
target: "node24",
|
||||
unbundle: true,
|
||||
dts: true,
|
||||
sourcemap: true,
|
||||
clean: true,
|
||||
splitting: false,
|
||||
minify: !dev,
|
||||
external: [...Object.keys(peerDependencies)],
|
||||
tsconfig: "tsconfig.json",
|
||||
};
|
||||
});
|
||||
const dev = !!options.watch
|
||||
return {
|
||||
entry: ['src/**/*.(ts|js)'],
|
||||
format: ['esm'],
|
||||
target: 'node24',
|
||||
unbundle: true,
|
||||
dts: true,
|
||||
sourcemap: true,
|
||||
clean: true,
|
||||
splitting: false,
|
||||
minify: !dev,
|
||||
external: [...Object.keys(peerDependencies)],
|
||||
tsconfig: 'tsconfig.json',
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user