From 649d608c893abb62e184503bf659b8ba59d6f231 Mon Sep 17 00:00:00 2001 From: Madeorsk Date: Mon, 23 Sep 2024 17:02:09 +0200 Subject: [PATCH] Fix package externals for correct library build. --- package.json | 2 +- vite.config.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 54332a3..ffe125c 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "version": "1.0.3", + "version": "1.0.4", "name": "@kernelui/smartable", "description": "Kernel UI Smartable.", "scripts": { diff --git a/vite.config.ts b/vite.config.ts index a5ecfc8..f85b61b 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -16,7 +16,7 @@ export default defineConfig(({ mode }: ConfigEnv): UserConfig => { fileName: "index", }, rollupOptions: { - external: ["@kernelui/core"], + external: ["react", "react-dom", "react-router-dom", "@phosphor-icons/react", "@kernelui/core"], }, },