项目文件夹

文件
wehub-resource-sync 1a390b2815
Scorecard supply-chain security / Scorecard analysis (push) Failing after 1s
/ test (push) Failing after 0s
secretlint / Run secretlint to diff files (push) Failing after 1s
UI-TARS E2E Test / E2E (macos-13) (push) Has been cancelled
UI-TARS E2E Test / E2E (macos-latest) (push) Has been cancelled
UI-TARS E2E Test / E2E (windows-latest) (push) Has been cancelled
CI Test, Typecheck / Test & Typecheck (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 12:08:49 +08:00

41 行
769 B
TypeScript

/**
* Copyright (c) 2025 Bytedance, Inc. and its affiliates.
* SPDX-License-Identifier: Apache-2.0
*/
import { defineConfig } from '@rslib/core';
const BANNER = `/**
* Copyright (c) 2025 Bytedance, Inc. and its affiliates.
* SPDX-License-Identifier: Apache-2.0
*/`;
export default defineConfig({
source: {
entry: {
index: ['./src/**', '!./src/**/*.test.ts'],
},
},
lib: [
{
format: 'esm',
syntax: 'es2021',
bundle: false,
autoExternal: false,
dts: true,
banner: { js: BANNER },
},
{
format: 'cjs',
syntax: 'es2021',
bundle: false,
dts: true,
banner: { js: BANNER },
},
],
output: {
target: 'node',
cleanDistPath: false,
sourceMap: true,
},
});