build: pnpm (#9806)

This commit is contained in:
Noel
2023-08-27 20:24:03 +02:00
committed by GitHub
parent 8325fa6540
commit e96a8a977f
82 changed files with 24444 additions and 28614 deletions

View File

@@ -10,8 +10,14 @@ export function createTsupConfig({
target = 'es2022',
skipNodeModulesBundle = true,
clean = true,
shims = true,
shims = format.includes('cjs'),
cjsInterop = format.includes('cjs'),
minify = false,
terserOptions = {
mangle: false,
keep_classnames: true,
keep_fnames: true,
},
splitting = false,
keepNames = true,
dts = true,
@@ -29,7 +35,9 @@ export function createTsupConfig({
target,
clean,
shims,
cjsInterop,
minify,
terserOptions,
splitting,
keepNames,
dts,