Typescript migration
* app.js * main.js * router.js
This commit is contained in:
parent
94d01310b9
commit
9652519267
12 changed files with 256 additions and 157 deletions
server
8
server/init.js
Normal file
8
server/init.js
Normal file
|
@ -0,0 +1,8 @@
|
|||
'use strict';
|
||||
|
||||
(function () {
|
||||
// Use graceful-fs instead of fs also in all libraries to have more robust fs handling.
|
||||
const realFs = require('fs');
|
||||
const gracefulFs = require('graceful-fs');
|
||||
gracefulFs.gracefulify(realFs);
|
||||
})();
|
Loading…
Add table
Add a link
Reference in a new issue