build: fix tsdown build config
This commit is contained in:
parent
c8f16bbf43
commit
2059cf92ff
@ -1,6 +1,6 @@
|
|||||||
import type { Options, UserConfigFn } from 'tsdown'
|
import type { Options, UserConfigFn } from 'tsdown'
|
||||||
import { defineConfig } from 'tsdown'
|
import { defineConfig } from 'tsdown'
|
||||||
import { argv } from '../../scripts/tsup-args.js'
|
import { argv } from '../../scripts/tsdown-args.js'
|
||||||
|
|
||||||
const clientExternal: (string | RegExp)[] = [
|
const clientExternal: (string | RegExp)[] = [
|
||||||
/.*\.vue$/,
|
/.*\.vue$/,
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
import type { Options, UserConfigFn } from 'tsdown'
|
import type { Options, UserConfigFn } from 'tsdown'
|
||||||
import { defineConfig } from 'tsdown'
|
import { defineConfig } from 'tsdown'
|
||||||
import { argv } from '../../scripts/tsup-args.js'
|
import { argv } from '../../scripts/tsdown-args.js'
|
||||||
|
|
||||||
const config = [
|
const config = [
|
||||||
{ dir: 'composables', files: ['codeRepl.ts', 'pdf.ts', 'rustRepl.ts', 'size.ts', 'audio.ts', 'demo.ts'] },
|
{ dir: 'composables', files: ['codeRepl.ts', 'pdf.ts', 'rustRepl.ts', 'size.ts', 'audio.ts', 'demo.ts'] },
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
import type { Options, UserConfigFn } from 'tsdown'
|
import type { Options, UserConfigFn } from 'tsdown'
|
||||||
import { defineConfig } from 'tsdown'
|
import { defineConfig } from 'tsdown'
|
||||||
import { argv } from '../../scripts/tsup-args.js'
|
import { argv } from '../../scripts/tsdown-args.js'
|
||||||
|
|
||||||
const sharedExternal: (string | RegExp)[] = [
|
const sharedExternal: (string | RegExp)[] = [
|
||||||
/.*\/shared\/index\.js$/,
|
/.*\/shared\/index\.js$/,
|
||||||
|
|||||||
@ -3,7 +3,7 @@ import fs from 'node:fs'
|
|||||||
import path from 'node:path'
|
import path from 'node:path'
|
||||||
import process from 'node:process'
|
import process from 'node:process'
|
||||||
import { defineConfig } from 'tsdown'
|
import { defineConfig } from 'tsdown'
|
||||||
import { argv } from '../scripts/tsup-args.js'
|
import { argv } from '../scripts/tsdown-args.js'
|
||||||
|
|
||||||
const sharedExternal: (string | RegExp)[] = [
|
const sharedExternal: (string | RegExp)[] = [
|
||||||
/.*\/shared\/index\.js$/,
|
/.*\/shared\/index\.js$/,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user