Skip to content

Commit

Permalink
add esm support for vue
Browse files Browse the repository at this point in the history
  • Loading branch information
GoodDayForSurf committed Sep 18, 2023
1 parent 421b835 commit 8a8cc29
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion JSDemos/configs/Vue/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ window.config = {
'es6-object-assign': 'npm:es6-object-assign',

'devextreme': 'npm:devextreme/cjs',
'devextreme-vue': 'npm:devextreme-vue',
'devextreme-vue': 'npm:devextreme-vue/cjs',
'jszip': 'npm:jszip/dist/jszip.min.js',
'devextreme-quill': 'npm:devextreme-quill/dist/dx-quill.min.js',
'devexpress-diagram': 'npm:devexpress-diagram/dist/dx-diagram.js',
Expand Down
2 changes: 1 addition & 1 deletion utils/bundle/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ const defaultBuilderConfig = {
'devextreme/*': 'node_modules/devextreme/cjs/*',
'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}/*`,
[`devextreme-${framework}/*`]: `node_modules/devextreme-${framework}/${['react', 'vue'].includes(framework) ? 'cjs/*' : '*'}`,
...additionPaths,
},
};
Expand Down

0 comments on commit 8a8cc29

Please sign in to comment.