summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--public/js/extra.js1
-rw-r--r--webpack.config.js3
2 files changed, 3 insertions, 1 deletions
diff --git a/public/js/extra.js b/public/js/extra.js
index f449bed1..d4a6c5cd 100644
--- a/public/js/extra.js
+++ b/public/js/extra.js
@@ -1,5 +1,6 @@
var hljs = require('highlight.js');
var PDFObject = require('pdfobject');
+var S = require('string');
//auto update last change
var createtime = null;
diff --git a/webpack.config.js b/webpack.config.js
index 85e3a005..cad356fb 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -15,7 +15,8 @@ module.exports = {
emojify: "emojify.js",
io: "socket.io-client",
LZString: "lz-string",
- key: "keymaster"
+ key: "keymaster",
+ Viz: "viz.js"
}),
new webpack.DefinePlugin({
"require.specified": "require.resolve"