mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-25 03:06:31 -05:00
Load gist-embed without script-loader
Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
1150c72fa7
commit
fddd97391b
2 changed files with 1 additions and 4 deletions
|
@ -19,6 +19,7 @@ import Plugin from 'markdown-it-regexp'
|
|||
|
||||
import mermaid from 'mermaid'
|
||||
import handlebars from 'handlebars'
|
||||
import 'gist-embed'
|
||||
|
||||
require('prismjs/themes/prism.css')
|
||||
require('prismjs/components/prism-wiki')
|
||||
|
|
|
@ -250,7 +250,6 @@ module.exports = {
|
|||
'expose-loader?exposes=moment!moment',
|
||||
'expose-loader?exposes=hljs!highlight.js',
|
||||
'expose-loader?exposes=emojify!emojify.js',
|
||||
'script-loader!gist-embed',
|
||||
'expose-loader?exposes=LZString!lz-string',
|
||||
'flowchart.js',
|
||||
'js-sequence-diagrams',
|
||||
|
@ -284,7 +283,6 @@ module.exports = {
|
|||
'expose-loader?exposes=moment!moment',
|
||||
'expose-loader?exposes=hljs!highlight.js',
|
||||
'expose-loader?exposes=emojify!emojify.js',
|
||||
'script-loader!gist-embed',
|
||||
'flowchart.js',
|
||||
'js-sequence-diagrams',
|
||||
'expose-loader?exposes=Viz!viz.js',
|
||||
|
@ -320,7 +318,6 @@ module.exports = {
|
|||
'expose-loader?exposes=moment!moment',
|
||||
'expose-loader?exposes=hljs!highlight.js',
|
||||
'expose-loader?exposes=emojify!emojify.js',
|
||||
'script-loader!gist-embed',
|
||||
'flowchart.js',
|
||||
'js-sequence-diagrams',
|
||||
'expose-loader?exposes=Viz!viz.js',
|
||||
|
@ -341,7 +338,6 @@ module.exports = {
|
|||
modules: ['node_modules'],
|
||||
extensions: ['.js'],
|
||||
alias: {
|
||||
'gist-embed': path.join(__dirname, 'node_modules/gist-embed/gist-embed.min.js'),
|
||||
'bootstrap-tooltip': path.join(__dirname, 'public/vendor/bootstrap/tooltip.min.js'),
|
||||
'reveal-markdown': path.join(__dirname, 'public/js/reveal-markdown.js'),
|
||||
abcjs: path.join(__dirname, 'public/vendor/abcjs_basic_3.1.1-min.js'),
|
||||
|
|
Loading…
Reference in a new issue