From 6812d583ca612566ebc8d910685f6480eea80222 Mon Sep 17 00:00:00 2001 From: Vasily Strelyaev Date: Thu, 5 Dec 2024 17:15:37 +0200 Subject: [PATCH] debug: try explicitly specifying /index in react and vue FSP re-exports --- apps/demos/utils/bundle/index.js | 6 ------ packages/devextreme-react/src/common/index.ts | 4 ++-- packages/devextreme-react/src/index.ts | 2 +- packages/devextreme-vue/src/common/index.ts | 4 ++-- packages/devextreme-vue/src/index.ts | 2 +- 5 files changed, 6 insertions(+), 12 deletions(-) diff --git a/apps/demos/utils/bundle/index.js b/apps/demos/utils/bundle/index.js index cbb8f489834..8bc6eaedc6f 100644 --- a/apps/demos/utils/bundle/index.js +++ b/apps/demos/utils/bundle/index.js @@ -79,12 +79,6 @@ const getDefaultBuilderConfig = (framework, additionPaths, map) => ({ 'devexpress-gantt': 'node_modules/devexpress-gantt/dist/dx-gantt.min.js', 'devexpress-diagram': 'node_modules/devexpress-diagram/dist/dx-diagram.min.js', [`devextreme-${framework}/*`]: `node_modules/devextreme-${framework}/${['react', 'vue'].includes(framework) ? 'cjs/*' : '*'}`, - 'devextreme-react/common.js': 'node_modules/devextreme-react/cjs/common/index.js', - 'devextreme-react/common/core.js': 'node_modules/devextreme-react/cjs/common/core/index.js', - 'devextreme-react/common/export.js': 'node_modules/devextreme-react/cjs/common/export/index.js', - 'devextreme-vue/common.js': 'node_modules/devextreme-vue/cjs/common/index.js', - 'devextreme-vue/common/core.js': 'node_modules/devextreme-vue/cjs/common/core/index.js', - 'devextreme-vue/common/export.js': 'node_modules/devextreme-vue/cjs/common/export/index.js', ...additionPaths, }, }); diff --git a/packages/devextreme-react/src/common/index.ts b/packages/devextreme-react/src/common/index.ts index aae65c683f6..c9e79d04800 100644 --- a/packages/devextreme-react/src/common/index.ts +++ b/packages/devextreme-react/src/common/index.ts @@ -75,7 +75,7 @@ export { } from "devextreme/common"; export * as Charts from "./charts"; -export * as Core from "./core"; +export * as Core from "./core/index"; export * as Data from "./data"; -export * as Export from "./export"; +export * as Export from "./export/index"; export * as Grids from "./grids"; diff --git a/packages/devextreme-react/src/index.ts b/packages/devextreme-react/src/index.ts index a19702eb37d..2cb6dbbb4d5 100644 --- a/packages/devextreme-react/src/index.ts +++ b/packages/devextreme-react/src/index.ts @@ -81,4 +81,4 @@ export { ValidationSummary } from "./validation-summary"; export { Validator } from "./validator"; export { VectorMap } from "./vector-map"; -export * as Common from "./common"; +export * as Common from "./common/index"; diff --git a/packages/devextreme-vue/src/common/index.ts b/packages/devextreme-vue/src/common/index.ts index aae65c683f6..c9e79d04800 100644 --- a/packages/devextreme-vue/src/common/index.ts +++ b/packages/devextreme-vue/src/common/index.ts @@ -75,7 +75,7 @@ export { } from "devextreme/common"; export * as Charts from "./charts"; -export * as Core from "./core"; +export * as Core from "./core/index"; export * as Data from "./data"; -export * as Export from "./export"; +export * as Export from "./export/index"; export * as Grids from "./grids"; diff --git a/packages/devextreme-vue/src/index.ts b/packages/devextreme-vue/src/index.ts index 02bb861c6a8..198b4adbe67 100644 --- a/packages/devextreme-vue/src/index.ts +++ b/packages/devextreme-vue/src/index.ts @@ -80,4 +80,4 @@ export { DxValidationSummary } from "./validation-summary"; export { DxValidator } from "./validator"; export { DxVectorMap } from "./vector-map"; -export * as Common from "./common"; +export * as Common from "./common/index";