mirror of
https://github.com/status-im/codimd.git
synced 2025-01-23 15:18:55 +00:00
Fix more js errors
This commit is contained in:
parent
3e2905be13
commit
28858288fb
@ -1,5 +1,6 @@
|
|||||||
var hljs = require('highlight.js');
|
var hljs = require('highlight.js');
|
||||||
var PDFObject = require('pdfobject');
|
var PDFObject = require('pdfobject');
|
||||||
|
var S = require('string');
|
||||||
|
|
||||||
//auto update last change
|
//auto update last change
|
||||||
var createtime = null;
|
var createtime = null;
|
||||||
|
@ -15,7 +15,8 @@ module.exports = {
|
|||||||
emojify: "emojify.js",
|
emojify: "emojify.js",
|
||||||
io: "socket.io-client",
|
io: "socket.io-client",
|
||||||
LZString: "lz-string",
|
LZString: "lz-string",
|
||||||
key: "keymaster"
|
key: "keymaster",
|
||||||
|
Viz: "viz.js"
|
||||||
}),
|
}),
|
||||||
new webpack.DefinePlugin({
|
new webpack.DefinePlugin({
|
||||||
"require.specified": "require.resolve"
|
"require.specified": "require.resolve"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user