Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix modules relative paths after moving Demos #27563

Merged
merged 8 commits into from
Jun 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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,7 +9,6 @@ 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 @@ -23,8 +22,9 @@ const prepareModulesToNamedImport = () => {
];

const paths = [
'../npm-scripts/npm-devextreme/cjs',
'node_modules/devextreme/cjs',
'../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
];

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