Skip to content

Commit

Permalink
fix: remove cloneDeep and fix tsup options #11
Browse files Browse the repository at this point in the history
  • Loading branch information
tomgao365 committed Sep 27, 2024
1 parent 2997f44 commit c23448f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -55,7 +54,7 @@ function preMergeOptions(options?: PluginOptions): PluginOptions {
skipNodeModulesBundle: isDev,
} as ExtensionOptions,
},
cloneDeep(options),
options,
);

const opt = opts.extension || {};
Expand Down

0 comments on commit c23448f

Please sign in to comment.