@@ -205,6 +205,11 @@ module.exports = {
205205 context : path . join ( __dirname , 'node_modules/fork-awesome' ) ,
206206 from : 'css' ,
207207 to : 'fork-awesome/css'
208+ } ,
209+ {
210+ context : path . join ( __dirname , 'node_modules/mermaid' ) ,
211+ from : 'dist/mermaid.min.js' ,
212+ to : 'mermaid/mermaid.min.js'
208213 }
209214 ] ) ,
210215 new MiniCssExtractPlugin (
@@ -295,7 +300,6 @@ module.exports = {
295300 'script-loader!jquery-ui-resizable' ,
296301 'bootstrap-validator' ,
297302 'expose-loader?jsyaml!js-yaml' ,
298- 'script-loader!mermaid' ,
299303 'expose-loader?moment!moment' ,
300304 'script-loader!handlebars' ,
301305 'expose-loader?hljs!highlight.js' ,
@@ -340,7 +344,6 @@ module.exports = {
340344 'pretty-pack' : [
341345 'babel-polyfill' ,
342346 'expose-loader?jsyaml!js-yaml' ,
343- 'script-loader!mermaid' ,
344347 'expose-loader?moment!moment' ,
345348 'script-loader!handlebars' ,
346349 'expose-loader?hljs!highlight.js' ,
@@ -383,7 +386,6 @@ module.exports = {
383386 'imports-loader?$=jquery!jquery-mousewheel' ,
384387 'bootstrap-tooltip' ,
385388 'expose-loader?jsyaml!js-yaml' ,
386- 'script-loader!mermaid' ,
387389 'expose-loader?moment!moment' ,
388390 'script-loader!handlebars' ,
389391 'expose-loader?hljs!highlight.js' ,
@@ -419,7 +421,6 @@ module.exports = {
419421 jqueryTextcomplete : path . join ( __dirname , 'public/vendor/jquery-textcomplete/jquery.textcomplete.js' ) ,
420422 codemirrorInlineAttachment : path . join ( __dirname , 'public/vendor/inlineAttachment/codemirror.inline-attachment.js' ) ,
421423 ot : path . join ( __dirname , 'public/vendor/ot/ot.min.js' ) ,
422- mermaid : path . join ( __dirname , 'node_modules/mermaid/dist/mermaid.min.js' ) ,
423424 handlebars : path . join ( __dirname , 'node_modules/handlebars/dist/handlebars.min.js' ) ,
424425 'jquery-ui-resizable' : path . join ( __dirname , 'public/vendor/jquery-ui/jquery-ui.min.js' ) ,
425426 'gist-embed' : path . join ( __dirname , 'node_modules/gist-embed/gist-embed.min.js' ) ,
0 commit comments