Skip to content

Commit

Permalink
revert: Fix modules relative paths after moving Demos (DevExpress#27563
Browse files Browse the repository at this point in the history
  • Loading branch information
EugeniyKiyashko committed Jun 18, 2024
1 parent 159d863 commit dc50dcd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/demos/utils/bundle/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ const url = require('url');
// https://stackoverflow.com/questions/42412965/how-to-load-named-exports-with-systemjs/47108328
const prepareModulesToNamedImport = () => {
const modules = [
'time_zone_utils.js',
'localization.js',
'viz/export.js',
'viz/core/export.js',
Expand All @@ -22,9 +23,8 @@ const prepareModulesToNamedImport = () => {
];

const paths = [
'../npm-scripts/npm-devextreme/cjs', // un-used / legacy?
'node_modules/devextreme/cjs', // 24.1+ migrated from devextreme-demos, kept as is / likely un-used, but works ok in mono repo
'../../node_modules/devextreme/cjs', // 24.1+ wg / individual em modules are not discovered
'../npm-scripts/npm-devextreme/cjs',
'node_modules/devextreme/cjs',
];

const esModuleExport = 'exports.__esModule = true;';
Expand Down

0 comments on commit dc50dcd

Please sign in to comment.