mirror of
https://github.com/pengzhanbo/vuepress-theme-plume.git
synced 2026-04-23 10:58:13 +08:00
16 lines
334 B
TypeScript
16 lines
334 B
TypeScript
import type { Options } from 'tsdown'
|
|
import { defineConfig } from 'tsdown'
|
|
import { version } from './package.json'
|
|
|
|
export default defineConfig({
|
|
entry: ['src/index.ts'],
|
|
outDir: 'lib',
|
|
dts: true,
|
|
format: 'esm',
|
|
sourcemap: false,
|
|
clean: true,
|
|
define: {
|
|
__CLI_VERSION__: JSON.stringify(version),
|
|
},
|
|
}) as Options
|