@medusajs/admin-bundler 2.21.0 → 2.21.1-preview-20260916094546
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/dist/index.js +3 -0
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -1320,6 +1320,9 @@ async function getViteConfig(options) {
|
|
|
1320
1320
|
const baseConfig = {
|
|
1321
1321
|
root,
|
|
1322
1322
|
base: options.path,
|
|
1323
|
+
resolve: {
|
|
1324
|
+
dedupe: ["react", "react-dom"]
|
|
1325
|
+
},
|
|
1323
1326
|
build: {
|
|
1324
1327
|
emptyOutDir: true,
|
|
1325
1328
|
outDir: import_path.default.resolve(process.cwd(), options.outDir),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@medusajs/admin-bundler",
|
|
3
|
-
"version": "2.21.
|
|
3
|
+
"version": "2.21.1-preview-20260916094546",
|
|
4
4
|
"description": "Bundler for the Medusa admin dashboard.",
|
|
5
5
|
"author": "Kasper Kristensen <kasper@medusajs.com>",
|
|
6
6
|
"scripts": {
|
|
@@ -21,12 +21,12 @@
|
|
|
21
21
|
"package.json"
|
|
22
22
|
],
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@medusajs/types": "2.21.
|
|
24
|
+
"@medusajs/types": "2.21.1-preview-20260916094546"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@medusajs/admin-shared": "2.21.
|
|
28
|
-
"@medusajs/admin-vite-plugin": "2.21.
|
|
29
|
-
"@medusajs/dashboard": "2.21.
|
|
27
|
+
"@medusajs/admin-shared": "2.21.1-preview-20260916094546",
|
|
28
|
+
"@medusajs/admin-vite-plugin": "2.21.1-preview-20260916094546",
|
|
29
|
+
"@medusajs/dashboard": "2.21.1-preview-20260916094546",
|
|
30
30
|
"@vitejs/plugin-react": "^5.2.0",
|
|
31
31
|
"autoprefixer": "^10.4.19",
|
|
32
32
|
"compression": "^1.8.0",
|