mirror of
https://github.com/pengzhanbo/vuepress-theme-plume.git
synced 2026-04-23 10:58:13 +08:00
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 { defineConfig } from 'tsdown'
|
||||
import { argv } from '../../scripts/tsup-args.js'
|
||||
import { argv } from '../../scripts/tsdown-args.js'
|
||||
|
||||
const clientExternal: (string | RegExp)[] = [
|
||||
/.*\.vue$/,
|
||||
|
||||
@ -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'] },
|
||||
|
||||
@ -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$/,
|
||||
|
||||
@ -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$/,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user