added v8-compile-cache

This commit is contained in:
Eugene Pankov 2021-07-27 09:59:35 +02:00
parent 75a0aadce4
commit 90e56e7605
No known key found for this signature in database
GPG key ID: 5896FCBBDD1CF4F4
6 changed files with 10 additions and 0 deletions

View file

@ -1,3 +1,4 @@
import 'v8-compile-cache'
import './portable' import './portable'
import 'source-map-support/register' import 'source-map-support/register'
import './sentry' import './sentry'

View file

@ -30,6 +30,7 @@
"npm": "6", "npm": "6",
"rxjs": "^7.2.0", "rxjs": "^7.2.0",
"source-map-support": "^0.5.19", "source-map-support": "^0.5.19",
"v8-compile-cache": "^2.3.0",
"yargs": "^17.0.1" "yargs": "^17.0.1"
}, },
"optionalDependencies": { "optionalDependencies": {

View file

@ -1,3 +1,4 @@
import 'v8-compile-cache'
import '../lib/lru' import '../lib/lru'
import 'source-sans-pro/source-sans-pro.css' import 'source-sans-pro/source-sans-pro.css'
import 'source-code-pro/source-code-pro.css' import 'source-code-pro/source-code-pro.css'

View file

@ -61,6 +61,7 @@ module.exports = {
}, },
externals: { externals: {
'@electron/remote': 'commonjs @electron/remote', '@electron/remote': 'commonjs @electron/remote',
'v8-compile-cache': 'commonjs v8-compile-cache',
child_process: 'commonjs child_process', child_process: 'commonjs child_process',
electron: 'commonjs electron', electron: 'commonjs electron',
fs: 'commonjs fs', fs: 'commonjs fs',

View file

@ -34,6 +34,7 @@ module.exports = {
], ],
}, },
externals: { externals: {
'v8-compile-cache': 'commonjs v8-compile-cache',
'any-promise': 'commonjs any-promise', 'any-promise': 'commonjs any-promise',
electron: 'commonjs electron', electron: 'commonjs electron',
'electron-config': 'commonjs electron-config', 'electron-config': 'commonjs electron-config',

View file

@ -3538,6 +3538,11 @@ uuid@^3.0.1, uuid@^3.3.2, uuid@^3.3.3:
resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.4.0.tgz#b23e4358afa8a202fe7a100af1f5f883f02007ee" resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.4.0.tgz#b23e4358afa8a202fe7a100af1f5f883f02007ee"
integrity sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A== integrity sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==
v8-compile-cache@^2.3.0:
version "2.3.0"
resolved "https://registry.yarnpkg.com/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz#2de19618c66dc247dcfb6f99338035d8245a2cee"
integrity sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA==
validate-npm-package-license@^3.0.1, validate-npm-package-license@^3.0.4: validate-npm-package-license@^3.0.1, validate-npm-package-license@^3.0.4:
version "3.0.4" version "3.0.4"
resolved "https://registry.yarnpkg.com/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz" resolved "https://registry.yarnpkg.com/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz"