Load jquery-textcomplete without script-loader

Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
David Mehren 2021-06-04 22:15:16 +02:00
parent 2515ad962b
commit 4f4a4cb747
No known key found for this signature in database
GPG key ID: 185982BA4C42B7C3
2 changed files with 2 additions and 3 deletions

View file

@ -11,6 +11,8 @@ import 'jquery-ui/themes/base/resizable.css'
import Idle from 'Idle.Js' import Idle from 'Idle.Js'
import '../vendor/jquery-textcomplete/jquery.textcomplete'
import { saveAs } from 'file-saver' import { saveAs } from 'file-saver'
import randomColor from 'randomcolor' import randomColor from 'randomcolor'
import store from 'store' import store from 'store'

View file

@ -214,7 +214,6 @@ module.exports = {
index: [ index: [
'babel-polyfill', 'babel-polyfill',
'expose-loader?exposes=LZString!lz-string', 'expose-loader?exposes=LZString!lz-string',
'script-loader!jqueryTextcomplete',
'script-loader!ot', 'script-loader!ot',
'flowchart.js', 'flowchart.js',
'js-sequence-diagrams', 'js-sequence-diagrams',
@ -257,7 +256,6 @@ module.exports = {
'expose-loader?exposes=emojify!emojify.js', 'expose-loader?exposes=emojify!emojify.js',
'script-loader!gist-embed', 'script-loader!gist-embed',
'expose-loader?exposes=LZString!lz-string', 'expose-loader?exposes=LZString!lz-string',
'script-loader!jqueryTextcomplete',
'script-loader!ot', 'script-loader!ot',
'flowchart.js', 'flowchart.js',
'js-sequence-diagrams', 'js-sequence-diagrams',
@ -352,7 +350,6 @@ module.exports = {
modules: ['node_modules'], modules: ['node_modules'],
extensions: ['.js'], extensions: ['.js'],
alias: { alias: {
jqueryTextcomplete: path.join(__dirname, 'public/vendor/jquery-textcomplete/jquery.textcomplete.js'),
ot: path.join(__dirname, 'public/vendor/ot/ot.min.js'), ot: path.join(__dirname, 'public/vendor/ot/ot.min.js'),
mermaid: path.join(__dirname, 'node_modules/mermaid/dist/mermaid.min.js'), mermaid: path.join(__dirname, 'node_modules/mermaid/dist/mermaid.min.js'),
handlebars: path.join(__dirname, 'node_modules/handlebars/dist/handlebars.min.js'), handlebars: path.join(__dirname, 'node_modules/handlebars/dist/handlebars.min.js'),