Skip to content

Commit

Permalink
debug: try explicitly specifying /index in react and vue FSP re-exports
Browse files Browse the repository at this point in the history
  • Loading branch information
VasilyStrelyaev committed Dec 5, 2024
1 parent b503826 commit 6812d58
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 12 deletions.
6 changes: 0 additions & 6 deletions apps/demos/utils/bundle/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
});
Expand Down
4 changes: 2 additions & 2 deletions packages/devextreme-react/src/common/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
2 changes: 1 addition & 1 deletion packages/devextreme-react/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
4 changes: 2 additions & 2 deletions packages/devextreme-vue/src/common/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
2 changes: 1 addition & 1 deletion packages/devextreme-vue/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";

0 comments on commit 6812d58

Please sign in to comment.