Skip to content

Commit

Permalink
Chore: add v8-compile-cache to speed up instantiation time (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
aladdin-add committed Jun 29, 2019
1 parent 0182bc3 commit f6daa04
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
*/
"use strict";

require("v8-compile-cache");
const all = require("./configs/all");
const recommended = require("./configs/recommended");
const unsafe = require("./configs/unsafe");
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
"espree": "^5.0.1",
"esutils": "^2.0.2",
"lodash": "^4.17.11",
"string-similarity": "^3.0.0"
"string-similarity": "^3.0.0",
"v8-compile-cache": "^2.0.3"
},
"devDependencies": {
"@not-an-aardvark/node-release-script": "^0.1.0",
Expand Down

0 comments on commit f6daa04

Please sign in to comment.