forked from DevExpress/DevExtreme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
webpack.config.js
26 lines (25 loc) · 936 Bytes
/
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
/* 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',
'quill': 'window.Quill',
'turndown': 'window.TurndownService',
'showdown': 'window.showdown',
'exceljs': 'window.ExcelJS',
'devexpress-diagram': 'window.DevExpress.diagram'
}
};