mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-22 01:36:29 -05:00
Load jquery-textcomplete without script-loader
Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
2515ad962b
commit
4f4a4cb747
2 changed files with 2 additions and 3 deletions
|
@ -11,6 +11,8 @@ import 'jquery-ui/themes/base/resizable.css'
|
|||
|
||||
import Idle from 'Idle.Js'
|
||||
|
||||
import '../vendor/jquery-textcomplete/jquery.textcomplete'
|
||||
|
||||
import { saveAs } from 'file-saver'
|
||||
import randomColor from 'randomcolor'
|
||||
import store from 'store'
|
||||
|
|
|
@ -214,7 +214,6 @@ module.exports = {
|
|||
index: [
|
||||
'babel-polyfill',
|
||||
'expose-loader?exposes=LZString!lz-string',
|
||||
'script-loader!jqueryTextcomplete',
|
||||
'script-loader!ot',
|
||||
'flowchart.js',
|
||||
'js-sequence-diagrams',
|
||||
|
@ -257,7 +256,6 @@ module.exports = {
|
|||
'expose-loader?exposes=emojify!emojify.js',
|
||||
'script-loader!gist-embed',
|
||||
'expose-loader?exposes=LZString!lz-string',
|
||||
'script-loader!jqueryTextcomplete',
|
||||
'script-loader!ot',
|
||||
'flowchart.js',
|
||||
'js-sequence-diagrams',
|
||||
|
@ -352,7 +350,6 @@ module.exports = {
|
|||
modules: ['node_modules'],
|
||||
extensions: ['.js'],
|
||||
alias: {
|
||||
jqueryTextcomplete: path.join(__dirname, 'public/vendor/jquery-textcomplete/jquery.textcomplete.js'),
|
||||
ot: path.join(__dirname, 'public/vendor/ot/ot.min.js'),
|
||||
mermaid: path.join(__dirname, 'node_modules/mermaid/dist/mermaid.min.js'),
|
||||
handlebars: path.join(__dirname, 'node_modules/handlebars/dist/handlebars.min.js'),
|
||||
|
|
Loading…
Reference in a new issue