mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-25 11:16:31 -05:00
Load more scripts using webpack
This commit is contained in:
parent
895bf98b03
commit
91266f1cad
5 changed files with 9 additions and 4 deletions
|
@ -9,6 +9,7 @@
|
|||
"build": "webpack --config webpack.production.js --progress --colors"
|
||||
},
|
||||
"dependencies": {
|
||||
"Idle.Js": "github:shawnmclean/Idle.js",
|
||||
"async": "^2.0.1",
|
||||
"blueimp-md5": "^2.4.0",
|
||||
"body-parser": "^1.15.2",
|
||||
|
@ -88,6 +89,7 @@
|
|||
"shortid": "2.2.6",
|
||||
"socket.io": "1.5.0",
|
||||
"socket.io-client": "^1.5.0",
|
||||
"spin.js": "^2.3.2",
|
||||
"sqlite3": "^3.1.6",
|
||||
"store": "^1.3.20",
|
||||
"string": "^3.3.1",
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -20,10 +20,8 @@
|
|||
<script src="<%- url %>/vendor/moment/min/moment-with-locales.js" defer></script>
|
||||
<script src="<%- url %>/vendor/mermaid/dist/mermaid.min.js" defer></script>
|
||||
<% } %>
|
||||
<script src="<%- url %>/vendor/Idle.Js/build/idle.min.js" defer></script>
|
||||
<script src="<%- url %>/build/vendor.js" defer></script>
|
||||
<!--codemirror-->
|
||||
<script src="<%- url %>/vendor/codemirror-spell-checker/spell-checker.min.js" defer></script>
|
||||
<script src="<%- url %>/build/index.js" defer></script>
|
||||
<script src="<%- url %>/js/google-drive-upload.js" defer></script>
|
||||
<script src="<%- url %>/js/google-drive-picker.js" defer></script>
|
||||
|
|
|
@ -203,7 +203,6 @@
|
|||
<script src="//cdnjs.cloudflare.com/ajax/libs/js-url/2.3.0/url.min.js" defer></script>
|
||||
<% } else { %>
|
||||
<script src="<%- url %>/vendor/velocity/velocity.min.js" defer></script>
|
||||
<script src="<%- url %>/vendor/select2/select2.min.js" defer></script>
|
||||
<script src="<%- url %>/vendor/moment/min/moment-with-locales.min.js" defer></script>
|
||||
<% } %>
|
||||
<script src="<%- url %>/build/locale.js" defer></script>
|
||||
|
|
|
@ -39,10 +39,14 @@ module.exports = {
|
|||
"expose?filterXSS!xss",
|
||||
"js-url",
|
||||
"bootstrap",
|
||||
"expose?Spinner!spin.js",
|
||||
"script!Idle.Js",
|
||||
"expose?Viz!viz.js",
|
||||
"expose?ListPagination!list.pagination.js/dist/list.pagination.js",
|
||||
path.join(__dirname, 'public/vendor/codemirror/codemirror.min.js'),
|
||||
path.join(__dirname, 'public/vendor/select2/select2.min.js'),
|
||||
path.join(__dirname, 'public/vendor/inlineAttachment/inline-attachment.js'),
|
||||
path.join(__dirname, 'public/vendor/codemirror-spell-checker/spell-checker.min.js'),
|
||||
path.join(__dirname, 'public/vendor/inlineAttachment/codemirror.inline-attachment.js'),
|
||||
path.join(__dirname, 'public/vendor/ot/ot.min.js')
|
||||
]
|
||||
|
@ -96,7 +100,9 @@ module.exports = {
|
|||
include: [
|
||||
path.join(__dirname, 'public/vendor/codemirror/codemirror.min.js'),
|
||||
path.join(__dirname, 'public/vendor/inlineAttachment/inline-attachment.js'),
|
||||
path.join(__dirname, 'public/vendor/select2/select2.min.js'),
|
||||
path.join(__dirname, 'public/vendor/inlineAttachment/codemirror.inline-attachment.js'),
|
||||
path.join(__dirname, 'public/vendor/codemirror-spell-checker/spell-checker.min.js'),
|
||||
path.join(__dirname, 'public/vendor/ot/ot.min.js')
|
||||
]
|
||||
}]
|
||||
|
|
Loading…
Reference in a new issue