@yoamigo.com/core 1.4.1 → 1.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/plugin.js +5 -1
  2. package/package.json +1 -1
package/dist/plugin.js CHANGED
@@ -100,7 +100,11 @@ if (import.meta.hot) {
100
100
  // Force Vite to pre-bundle @tabler/icons-react with the app's React instance
101
101
  // This prevents Symbol mismatch issues when dynamically importing icons in DEV mode
102
102
  optimizeDeps: {
103
- include: ["@tabler/icons-react", "react", "react-dom"]
103
+ include: [
104
+ ...tablerIconsPath ? ["@tabler/icons-react"] : [],
105
+ "react",
106
+ "react-dom"
107
+ ]
104
108
  },
105
109
  server: {
106
110
  port: process.env.PORT ? parseInt(process.env.PORT, 10) : 5173,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yoamigo.com/core",
3
- "version": "1.4.1",
3
+ "version": "1.4.2",
4
4
  "description": "Core components, router, and utilities for YoAmigo templates",
5
5
  "type": "module",
6
6
  "license": "SEE LICENSE IN LICENSE",