Skip to content

Commit

Permalink
👷
Browse files Browse the repository at this point in the history
  • Loading branch information
zbeyens committed Oct 2, 2023
1 parent a97ceee commit 53ff459
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions config/tsup.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import fs from 'node:fs';
import path from 'node:path';
import { esbuildPluginFilePathExtensions } from 'esbuild-plugin-file-path-extensions';
import { esbuildPluginImport } from '@linjiajian999/esbuild-plugin-import';
import { esbuildPluginFilePathExtensions } from 'esbuild-plugin-file-path-extensions';
import { defineConfig } from 'tsup';

const PACKAGE_ROOT_PATH = process.cwd();
Expand All @@ -22,12 +22,12 @@ export default defineConfig((opts) => {
esbuildPlugins: [
esbuildPluginFilePathExtensions({ esmExtension: 'js' }) as any,
esbuildPluginImport([
{
libraryName: 'lodash',
libraryDirectory: '',
camel2DashComponentName: false,
},
]) as any,
{
libraryName: 'lodash',
libraryDirectory: '',
camel2DashComponentName: false,
},
]) as any,
],
onSuccess: async () => {
if (opts.watch) {
Expand Down

0 comments on commit 53ff459

Please sign in to comment.