@google-translate-select/constants
Version:
🚀 The package offer constants for @google-translate-select!
16 lines (14 loc) • 423 B
text/typescript
import { defineConfig } from 'tsup'
import type { Options } from 'tsup'
export default defineConfig((options: Options) => ({
entry: ['./src/index.ts'],
format: ['cjs', 'esm'],
tsconfig: '../../tsconfig.web.json',
dts: {
compilerOptions: {
// use tsconfig references generate .d.ts has error. see https://github.com/egoist/tsup/issues/647
composite: false,
},
},
minify: !options.watch,
}))