Skip to content

Commit

Permalink
Add aliases for imports containing /index
Browse files Browse the repository at this point in the history
  • Loading branch information
alexslavr committed Jan 14, 2025
1 parent 0686e38 commit 120b35d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/devextreme/build/npm-bin/bundler.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ const createConfig = function(outputFile, mode) {

config.resolve = {
alias: {
'devextreme': sourcesDir
'devextreme': sourcesDir,
'../../events/index': path.resolve(sourcesDir, 'cjs/events/index.js'),
'../../common/core/events/utils/index': path.resolve(sourcesDir, 'cjs/common/core/events.js')
},
mainFields: ['main']
};
Expand Down

0 comments on commit 120b35d

Please sign in to comment.