Skip to content

Commit a561620

Browse files
authored
Add v8-compile-cache to make faster startup (#139)
1 parent fa00752 commit a561620

File tree

4 files changed

+11
-0
lines changed

4 files changed

+11
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## [Unreleased]
44

5+
### Added
6+
7+
- Add `v8-compile-cache` to make faster startup ([#139](https://github.com/marp-team/marp-cli/pull/139))
8+
59
## v0.13.0 - 2019-08-23
610

711
### Fixed

marp-cli.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
'use strict'
44

5+
require('v8-compile-cache')
56
require('./lib/marp-cli.js')
67
.default(process.argv.slice(2))
78
.then(exitCode => process.on('exit', () => process.exit(exitCode)))

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@
142142
"serve-index": "^1.9.1",
143143
"strip-ansi": "^5.2.0",
144144
"tmp": "^0.1.0",
145+
"v8-compile-cache": "^2.1.0",
145146
"wrap-ansi": "^6.0.0",
146147
"ws": "^7.1.2",
147148
"yargs": "^14.0.0"

yarn.lock

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7852,6 +7852,11 @@ uuid@^3.3.2:
78527852
resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.3.3.tgz#4568f0216e78760ee1dbf3a4d2cf53e224112866"
78537853
integrity sha512-pW0No1RGHgzlpHJO1nsVrHKpOEIxkGg1xB+v0ZmdNH5OAeAwzAVrCnI2/6Mtx+Uys6iaylxa+D3g4j63IKKjSQ==
78547854

7855+
v8-compile-cache@^2.1.0:
7856+
version "2.1.0"
7857+
resolved "https://registry.yarnpkg.com/v8-compile-cache/-/v8-compile-cache-2.1.0.tgz#e14de37b31a6d194f5690d67efc4e7f6fc6ab30e"
7858+
integrity sha512-usZBT3PW+LOjM25wbqIlZwPeJV+3OSz3M1k1Ws8snlW39dZyYL9lOGC5FgPVHfk0jKmjiDV8Z0mIbVQPiwFs7g==
7859+
78557860
validate-npm-package-license@^3.0.1:
78567861
version "3.0.4"
78577862
resolved "https://registry.yarnpkg.com/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz#fc91f6b9c7ba15c857f4cb2c5defeec39d4f410a"

0 commit comments

Comments
 (0)