build: fix tsdown build config

This commit is contained in:
pengzhanbo 2025-08-11 00:13:41 +08:00
parent c8f16bbf43
commit 2059cf92ff
5 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
import type { Options, UserConfigFn } from 'tsdown'
import { defineConfig } from 'tsdown'
import { argv } from '../../scripts/tsup-args.js'
import { argv } from '../../scripts/tsdown-args.js'
const clientExternal: (string | RegExp)[] = [
/.*\.vue$/,

View File

@ -1,6 +1,6 @@
import type { Options, UserConfigFn } from 'tsdown'
import { defineConfig } from 'tsdown'
import { argv } from '../../scripts/tsup-args.js'
import { argv } from '../../scripts/tsdown-args.js'
const config = [
{ dir: 'composables', files: ['codeRepl.ts', 'pdf.ts', 'rustRepl.ts', 'size.ts', 'audio.ts', 'demo.ts'] },

View File

@ -1,6 +1,6 @@
import type { Options, UserConfigFn } from 'tsdown'
import { defineConfig } from 'tsdown'
import { argv } from '../../scripts/tsup-args.js'
import { argv } from '../../scripts/tsdown-args.js'
const sharedExternal: (string | RegExp)[] = [
/.*\/shared\/index\.js$/,

View File

@ -3,7 +3,7 @@ import fs from 'node:fs'
import path from 'node:path'
import process from 'node:process'
import { defineConfig } from 'tsdown'
import { argv } from '../scripts/tsup-args.js'
import { argv } from '../scripts/tsdown-args.js'
const sharedExternal: (string | RegExp)[] = [
/.*\/shared\/index\.js$/,