Fix more js errors
This commit is contained in:
parent
3e2905be13
commit
28858288fb
2 changed files with 3 additions and 1 deletions
|
@ -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…
Reference in a new issue