From 5efd411c28eca5a0ccb9c9e43446c7e419cf4493 Mon Sep 17 00:00:00 2001 From: Jan Vollmer Date: Wed, 24 Jul 2024 20:20:52 +0200 Subject: [PATCH] remove esbuild plugin because it messes up css imports --- package.json | 1 - tsup.config.ts | 4 +--- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/package.json b/package.json index df8753f..44cfd15 100644 --- a/package.json +++ b/package.json @@ -71,7 +71,6 @@ "@typescript-eslint/parser": "^7.17.0", "@vitejs/plugin-react": "^4.3.1", "dayjs": "^1.11.12", - "esbuild-plugin-file-path-extensions": "^2.1.2", "eslint": "^8.57.0", "eslint-config-alloy": "^5.1.2", "eslint-plugin-react": "^7.35.0", diff --git a/tsup.config.ts b/tsup.config.ts index 371ef99..f2170e1 100644 --- a/tsup.config.ts +++ b/tsup.config.ts @@ -1,5 +1,3 @@ -import { esbuildPluginFilePathExtensions } from "esbuild-plugin-file-path-extensions"; - import { defineConfig } from "tsup"; export default defineConfig([ { @@ -16,6 +14,6 @@ export default defineConfig([ dts: true, sourcemap: true, clean: true, - esbuildPlugins: [esbuildPluginFilePathExtensions({ esmExtension: "js" })], + bundle: false, }, ]);