bertui 1.2.5 → 1.2.6
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.
package/package.json
CHANGED
|
@@ -318,11 +318,13 @@ ${bertuiAnimateCSS}
|
|
|
318
318
|
<script type="importmap">
|
|
319
319
|
{
|
|
320
320
|
"imports": {
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
321
|
+
'react': 'https://esm.sh/react@18.2.0',
|
|
322
|
+
'react-dom': 'https://esm.sh/react-dom@18.2.0',
|
|
323
|
+
'react-dom/client': 'https://esm.sh/react-dom@18.2.0/client',
|
|
324
|
+
'react/jsx-runtime': 'https://esm.sh/react@18.2.0/jsx-runtime',
|
|
325
|
+
'react/jsx-dev-runtime': 'https://esm.sh/react@18.2.0/jsx-dev-runtime', // ADD THIS
|
|
326
|
+
'@bunnyx/api': '/bunnyx-api/api-client.js',
|
|
327
|
+
'@elysiajs/eden': '/node_modules/@elysiajs/eden/dist/index.mjs',
|
|
326
328
|
}
|
|
327
329
|
}
|
|
328
330
|
</script>
|
|
@@ -72,14 +72,13 @@ export async function buildDevImportMap(root) {
|
|
|
72
72
|
|
|
73
73
|
logger.info('🔄 Rebuilding dev import map (new packages detected)...');
|
|
74
74
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
'@bunnyx/api':
|
|
81
|
-
|
|
82
|
-
};
|
|
75
|
+
'react': 'https://esm.sh/react@18.2.0',
|
|
76
|
+
'react-dom': 'https://esm.sh/react-dom@18.2.0',
|
|
77
|
+
'react-dom/client': 'https://esm.sh/react-dom@18.2.0/client',
|
|
78
|
+
'react/jsx-runtime': 'https://esm.sh/react@18.2.0/jsx-runtime',
|
|
79
|
+
'react/jsx-dev-runtime': 'https://esm.sh/react@18.2.0/jsx-dev-runtime', // ADD THIS
|
|
80
|
+
'@bunnyx/api': '/bunnyx-api/api-client.js',
|
|
81
|
+
'@elysiajs/eden': '/node_modules/@elysiajs/eden/dist/index.mjs',
|
|
83
82
|
const SKIP = new Set(['react', 'react-dom', '.bin', '.cache', '.package-lock.json', '.yarn']);
|
|
84
83
|
|
|
85
84
|
if (existsSync(nodeModulesDir)) {
|