You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
453 B
22 lines
453 B
import { defineConfig } from 'tsdown';
|
|
// eslint-disable-next-line n/no-extraneous-import
|
|
import Vue from 'unplugin-vue/rolldown';
|
|
|
|
export default defineConfig({
|
|
clean: true,
|
|
deps: {
|
|
skipNodeModulesBundle: true,
|
|
},
|
|
dts: {
|
|
vue: true,
|
|
},
|
|
entry: ['src/index.ts'],
|
|
format: ['esm'],
|
|
outExtensions: () => ({
|
|
dts: '.d.ts',
|
|
js: '.mjs',
|
|
}),
|
|
platform: 'neutral',
|
|
plugins: [Vue({ isProduction: true })],
|
|
unbundle: true,
|
|
});
|
|
|