From c23448f86743bfeb160257b8e9e7367388c4b81b Mon Sep 17 00:00:00 2001 From: Tom Gao Date: Fri, 27 Sep 2024 22:02:04 +0800 Subject: [PATCH] fix: remove cloneDeep and fix tsup options #11 --- src/index.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/index.ts b/src/index.ts index 6dc5cd4..42fe7b0 100644 --- a/src/index.ts +++ b/src/index.ts @@ -4,7 +4,6 @@ import fs from 'node:fs'; import os from 'node:os'; import path from 'node:path'; import { cwd } from 'node:process'; -import cloneDeep from 'lodash.clonedeep'; import merge from 'lodash.merge'; import { parse as htmlParser } from 'node-html-parser'; import { build as tsupBuild, type Options as TsupOptions } from 'tsup'; @@ -55,7 +54,7 @@ function preMergeOptions(options?: PluginOptions): PluginOptions { skipNodeModulesBundle: isDev, } as ExtensionOptions, }, - cloneDeep(options), + options, ); const opt = opts.extension || {};