diff --git a/package.json b/package.json index 0fa561d..9f4a460 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,6 @@ "@dzeio/object-util": "^1", "typescript": "^4", "lucide-react": "^0.88.0", - "production": "^0.0.2", "vite": "^3" } } diff --git a/vite.config.js b/vite.config.js index 36aa06f..38c74f3 100644 --- a/vite.config.js +++ b/vite.config.js @@ -17,7 +17,7 @@ export default defineConfig({ rollupOptions: { // externalize deps that shouldn't be bundled // into your library - external: ['react', 'react-dom', /next/gu, ...external], + external: ['react', 'react-dom', /^next/gu, ...external], output: { // Provide global variables to use in the UMD build // for externalized deps