Skip to content
This repository was archived by the owner on Apr 6, 2020. It is now read-only.

Commit e3300a3

Browse files
author
Sohee Lee
committed
chore: external editor-viewer, jquery, code-snippet, highlight.js, markdown-it, to-mark
1 parent 92753c9 commit e3300a3

File tree

1 file changed

+40
-4
lines changed

1 file changed

+40
-4
lines changed

webpack.config.js

Lines changed: 40 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,46 @@ module.exports = {
1616
},
1717
externals: {
1818
'tui-editor': {
19-
'commonjs': 'tui-editor',
20-
'commonjs2': 'tui-editor',
21-
'amd': 'tui-editor',
22-
'root': ['tui', 'Editor']
19+
commonjs: 'tui-editor',
20+
commonjs2: 'tui-editor',
21+
amd: 'tui-editor',
22+
root: ['tui', 'Editor']
23+
},
24+
'tui-editor/dist/tui-editor-Viewer': {
25+
commonjs: 'tui-editor/dist/tui-editor-Viewer',
26+
commonjs2: 'tui-editor/dist/tui-editor-Viewer',
27+
amd: 'tui-editor/dist/tui-editor-Viewer',
28+
root: ['tui', 'Editor']
29+
},
30+
'jquery': {
31+
commonjs: 'jquery',
32+
commonjs2: 'jquery',
33+
amd: 'jquery',
34+
root: ['$']
35+
},
36+
'tui-code-snippet': {
37+
commonjs: 'tui-code-snippet',
38+
commonjs2: 'tui-code-snippet',
39+
amd: 'tui-code-snippet',
40+
root: ['tui', 'util']
41+
},
42+
'highlight.js': {
43+
commonjs: 'highlight.js',
44+
commonjs2: 'highlight.js',
45+
amd: 'highlight.js',
46+
root: ['hljs']
47+
},
48+
'markdown-it': {
49+
commonjs: 'markdown-it',
50+
commonjs2: 'markdown-it',
51+
amd: 'markdown-it',
52+
root: ['markdownit']
53+
},
54+
'to-mark': {
55+
commonjs: 'to-mark',
56+
commonjs2: 'to-mark',
57+
amd: 'to-mark',
58+
root: ['toMark']
2359
}
2460
},
2561
module: {

0 commit comments

Comments
 (0)