Skip to content
This repository was archived by the owner on Aug 7, 2021. It is now read-only.

Commit cf0d76b

Browse files
vtrifonovsis0k0
authored andcommitted
feat: configure v8Version for snapshot tools (#503)
* Read v8 version from webpack.config.js * use options instead of this.options
1 parent 41779ad commit cf0d76b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Diff for: plugins/NativeScriptSnapshotPlugin/index.js

+1
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ exports.NativeScriptSnapshotPlugin = (function() {
6464
targetArchs: options.targetArchs,
6565
useLibs: options.useLibs,
6666
androidNdkPath: options.androidNdkPath,
67+
v8Version: options.v8Version,
6768
tnsJavaClassesPath: join(preparedAppRootPath, "tns-java-classes.js")
6869
}).then(() => {
6970
// Make the original file empty

Diff for: plugins/NativeScriptSnapshotPlugin/options.json

+3
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@
2525
},
2626
"useLibs": {
2727
"type": "boolean"
28+
},
29+
"v8Version": {
30+
"type": "string"
2831
}
2932
},
3033
"additionalProperties": false

0 commit comments

Comments
 (0)