Use minified discord-markdown

princess
Cadence Ember 2 years ago
parent 69a9e2ed2f
commit 6297350418
Signed by: cadence
GPG Key ID: BC1C2C61CF521B17
  1. 5
      package-lock.json
  2. 2
      package.json
  3. 2
      src/js/chat-input.js

5
package-lock.json generated

@ -1791,10 +1791,9 @@
}
},
"discord-markdown": {
"version": "git+https://git.sr.ht/~cadence/nodejs-discord-markdown#e5d0a953764cd8e8e0f7ea84c93a882fe16f6e3d",
"from": "git+https://git.sr.ht/~cadence/nodejs-discord-markdown#e5d0a953764cd8e8e0f7ea84c93a882fe16f6e3d",
"version": "git+https://git.sr.ht/~cadence/nodejs-discord-markdown#5ad8046d8d62a7fb8047e1a697c3848744d4e64d",
"from": "git+https://git.sr.ht/~cadence/nodejs-discord-markdown#5ad8046d8d62a7fb8047e1a697c3848744d4e64d",
"requires": {
"highlight.js": "^10.3.2",
"simple-markdown": "^0.7.2"
}
},

@ -16,7 +16,7 @@
"@babel/preset-env": "^7.11.0",
"browserify": "^17.0.0",
"chalk": "^4.1.0",
"discord-markdown": "git+https://git.sr.ht/~cadence/nodejs-discord-markdown#e5d0a953764cd8e8e0f7ea84c93a882fe16f6e3d",
"discord-markdown": "git+https://git.sr.ht/~cadence/nodejs-discord-markdown#5ad8046d8d62a7fb8047e1a697c3848744d4e64d",
"dompurify": "^2.2.0",
"highlight.js": "^10.3.2",
"http-server": "^0.12.3",

@ -2,7 +2,7 @@ const {q} = require("./basic.js")
const {store} = require("./store/store.js")
const lsm = require("./lsm.js")
const {chat} = require("./chat.js")
const {toHTML} = require("discord-markdown")
const {toHTML} = require("discord-markdown/dist/discord-markdown.min.js")
const input = q("#c-chat-textarea")

Loading…
Cancel
Save