fix: flowchart.js eve denpency eve not found

Signed-off-by: BoHong Li <a60814billy@gmail.com>
This commit is contained in:
BoHong Li 2019-04-10 19:17:38 +08:00
parent 0734f0faa8
commit c50a9b416f
No known key found for this signature in database
GPG key ID: 9696D5590D58290F

View file

@ -210,7 +210,7 @@ module.exports = {
'script-loader!codemirrorSpellChecker', 'script-loader!codemirrorSpellChecker',
'script-loader!codemirrorInlineAttachment', 'script-loader!codemirrorInlineAttachment',
'script-loader!ot', 'script-loader!ot',
// 'flowchart.js', 'flowchart.js',
'script-loader!js-sequence-diagrams', 'script-loader!js-sequence-diagrams',
'expose-loader?RevealMarkdown!reveal-markdown', 'expose-loader?RevealMarkdown!reveal-markdown',
path.join(__dirname, 'public/js/index.js') path.join(__dirname, 'public/js/index.js')
@ -261,7 +261,7 @@ module.exports = {
'script-loader!codemirrorSpellChecker', 'script-loader!codemirrorSpellChecker',
'script-loader!codemirrorInlineAttachment', 'script-loader!codemirrorInlineAttachment',
'script-loader!ot', 'script-loader!ot',
//'flowchart.js', 'flowchart.js',
'script-loader!js-sequence-diagrams', 'script-loader!js-sequence-diagrams',
'expose-loader?Viz!viz.js', 'expose-loader?Viz!viz.js',
'script-loader!abcjs', 'script-loader!abcjs',
@ -271,7 +271,7 @@ module.exports = {
], ],
pretty: [ pretty: [
'babel-polyfill', 'babel-polyfill',
//'flowchart.js', 'flowchart.js',
'script-loader!js-sequence-diagrams', 'script-loader!js-sequence-diagrams',
'expose-loader?RevealMarkdown!reveal-markdown', 'expose-loader?RevealMarkdown!reveal-markdown',
path.join(__dirname, 'public/js/pretty.js') path.join(__dirname, 'public/js/pretty.js')
@ -296,7 +296,7 @@ module.exports = {
'expose-loader?hljs!highlight.js', 'expose-loader?hljs!highlight.js',
'expose-loader?emojify!emojify.js', 'expose-loader?emojify!emojify.js',
'script-loader!gist-embed', 'script-loader!gist-embed',
//'flowchart.js', 'flowchart.js',
'script-loader!js-sequence-diagrams', 'script-loader!js-sequence-diagrams',
'expose-loader?Viz!viz.js', 'expose-loader?Viz!viz.js',
'script-loader!abcjs', 'script-loader!abcjs',
@ -306,7 +306,7 @@ module.exports = {
slide: [ slide: [
'babel-polyfill', 'babel-polyfill',
'bootstrap-tooltip', 'bootstrap-tooltip',
//'flowchart.js', 'flowchart.js',
'script-loader!js-sequence-diagrams', 'script-loader!js-sequence-diagrams',
'expose-loader?RevealMarkdown!reveal-markdown', 'expose-loader?RevealMarkdown!reveal-markdown',
path.join(__dirname, 'public/js/slide.js') path.join(__dirname, 'public/js/slide.js')
@ -334,7 +334,7 @@ module.exports = {
'expose-loader?hljs!highlight.js', 'expose-loader?hljs!highlight.js',
'expose-loader?emojify!emojify.js', 'expose-loader?emojify!emojify.js',
'script-loader!gist-embed', 'script-loader!gist-embed',
//'flowchart.js', 'flowchart.js',
'script-loader!js-sequence-diagrams', 'script-loader!js-sequence-diagrams',
'expose-loader?Viz!viz.js', 'expose-loader?Viz!viz.js',
'script-loader!abcjs', 'script-loader!abcjs',
@ -369,7 +369,7 @@ module.exports = {
'headjs': path.join(__dirname, 'node_modules/reveal.js/lib/js/head.min.js'), 'headjs': path.join(__dirname, 'node_modules/reveal.js/lib/js/head.min.js'),
'reveal-markdown': path.join(__dirname, 'public/js/reveal-markdown.js'), 'reveal-markdown': path.join(__dirname, 'public/js/reveal-markdown.js'),
abcjs: path.join(__dirname, 'public/vendor/abcjs_basic_3.1.1-min.js'), abcjs: path.join(__dirname, 'public/vendor/abcjs_basic_3.1.1-min.js'),
raphael: path.join(__dirname, 'node_modules/raphael/raphael.no-deps.js'), raphael: path.join(__dirname, 'node_modules/raphael/raphael.min.js'),
'js-sequence-diagrams': path.join(__dirname, 'node_modules/@hackmd/js-sequence-diagrams/build/main.js') 'js-sequence-diagrams': path.join(__dirname, 'node_modules/@hackmd/js-sequence-diagrams/build/main.js')
} }
}, },