From ada6fc9327978db7ce026f6e75858d53e1a64e46 Mon Sep 17 00:00:00 2001 From: SoonIter Date: Wed, 18 Sep 2024 19:06:11 +0800 Subject: [PATCH] chore: update --- examples/express-plugin/rslib.config.ts | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/examples/express-plugin/rslib.config.ts b/examples/express-plugin/rslib.config.ts index 3452d9301..740602521 100644 --- a/examples/express-plugin/rslib.config.ts +++ b/examples/express-plugin/rslib.config.ts @@ -1,16 +1,10 @@ import { defineConfig } from '@rslib/core'; -const shared = { - dts: { - bundle: false, - }, -}; - export default defineConfig({ lib: [ { - ...shared, format: 'esm', + dts: false, output: { distPath: { root: './dist/esm', @@ -18,7 +12,7 @@ export default defineConfig({ }, }, { - ...shared, + dts: false, format: 'cjs', output: { distPath: {