mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-12 22:26:08 -04:00
Update webpack config and JS import for spin.js v4
Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
faffe806b7
commit
788e7d460a
2 changed files with 3 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
/* eslint-env browser, jquery */
|
/* eslint-env browser, jquery */
|
||||||
/* eslint no-console: ["error", { allow: ["warn", "error", "debug"] }] */
|
/* eslint no-console: ["error", { allow: ["warn", "error", "debug"] }] */
|
||||||
/* global CodeMirror, Cookies, moment, Spinner, Idle, serverurl,
|
/* global CodeMirror, Cookies, moment, Idle, serverurl,
|
||||||
key, Dropbox, ot, hex2rgb, Visibility */
|
key, Dropbox, ot, hex2rgb, Visibility */
|
||||||
|
|
||||||
import TurndownService from 'turndown'
|
import TurndownService from 'turndown'
|
||||||
|
@ -10,6 +10,7 @@ import randomColor from 'randomcolor'
|
||||||
import store from 'store'
|
import store from 'store'
|
||||||
import hljs from 'highlight.js'
|
import hljs from 'highlight.js'
|
||||||
import url from 'wurl'
|
import url from 'wurl'
|
||||||
|
import { Spinner } from 'spin.js'
|
||||||
|
|
||||||
import _ from 'lodash'
|
import _ from 'lodash'
|
||||||
|
|
||||||
|
|
|
@ -239,6 +239,7 @@ module.exports = {
|
||||||
path.join(__dirname, 'node_modules/codemirror/theme/one-dark.css'),
|
path.join(__dirname, 'node_modules/codemirror/theme/one-dark.css'),
|
||||||
path.join(__dirname, 'node_modules/codemirror/mode/tiddlywiki/tiddlywiki.css'),
|
path.join(__dirname, 'node_modules/codemirror/mode/tiddlywiki/tiddlywiki.css'),
|
||||||
path.join(__dirname, 'node_modules/codemirror/mode/mediawiki/mediawiki.css'),
|
path.join(__dirname, 'node_modules/codemirror/mode/mediawiki/mediawiki.css'),
|
||||||
|
path.join(__dirname, 'node_modules/spin.js/spin.css'),
|
||||||
path.join(__dirname, 'public/css/github-extract.css'),
|
path.join(__dirname, 'public/css/github-extract.css'),
|
||||||
path.join(__dirname, 'public/vendor/showup/showup.css'),
|
path.join(__dirname, 'public/vendor/showup/showup.css'),
|
||||||
path.join(__dirname, 'public/css/mermaid.css'),
|
path.join(__dirname, 'public/css/mermaid.css'),
|
||||||
|
@ -253,7 +254,6 @@ module.exports = {
|
||||||
],
|
],
|
||||||
'index-pack': [
|
'index-pack': [
|
||||||
'babel-polyfill',
|
'babel-polyfill',
|
||||||
'expose-loader?exposes=Spinner!spin.js',
|
|
||||||
'script-loader!jquery-ui-resizable',
|
'script-loader!jquery-ui-resizable',
|
||||||
'bootstrap-validator',
|
'bootstrap-validator',
|
||||||
'expose-loader?exposes=jsyaml!js-yaml',
|
'expose-loader?exposes=jsyaml!js-yaml',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue