forked from DevExpress/DevExtreme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
webpack.config.js
28 lines (27 loc) · 1.03 KB
/
webpack.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/* eslint-env node */
module.exports = {
output: {
sourcePrefix: ' ',
devtoolModuleFilenameTemplate: 'devextreme:///[resource-path]',
devtoolFallbackModuleFilenameTemplate: 'devextreme:///[resource-path]?[hash]'
},
externals: {
// Optional (calling through window to skip error on script load)
'jquery': 'window.jQuery',
'jszip': 'window.JSZip',
'knockout': 'window.ko',
'angular': 'window.angular',
'globalize': 'window.Globalize',
'globalize/number': 'window.Globalize',
'globalize/currency': 'window.Globalize',
'globalize/date': 'window.Globalize',
'globalize/message': 'window.Globalize',
'devextreme-quill': 'window.DevExpress.Quill',
'turndown': 'window.TurndownService',
'showdown': 'window.showdown',
'exceljs': 'window.ExcelJS',
'jspdf': 'window.jspdf.jsPDF',
'devexpress-diagram': 'window.DevExpress.diagram',
'devexpress-gantt': 'window.DevExpress.Gantt'
}
};