diff --git a/bin/stylelint.js b/bin/stylelint.js index 9d26798654..f38a7c7883 100755 --- a/bin/stylelint.js +++ b/bin/stylelint.js @@ -2,4 +2,7 @@ "use strict"; +// to use V8's code cache to speed up instantiation time +require("v8-compile-cache"); + require("../lib/cli")(process.argv.slice(2)); diff --git a/package.json b/package.json index ce4a0c8fe4..a328134680 100644 --- a/package.json +++ b/package.json @@ -86,7 +86,8 @@ "style-search": "^0.1.0", "sugarss": "^2.0.0", "svg-tags": "^1.0.0", - "table": "^5.2.3" + "table": "^5.2.3", + "v8-compile-cache": "^2.1.0" }, "devDependencies": { "benchmark": "^2.1.4",