summaryrefslogtreecommitdiff
path: root/includes/search/node_modules/pkg/dictionary/v8flags.js
diff options
context:
space:
mode:
Diffstat (limited to 'includes/search/node_modules/pkg/dictionary/v8flags.js')
-rw-r--r--includes/search/node_modules/pkg/dictionary/v8flags.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/includes/search/node_modules/pkg/dictionary/v8flags.js b/includes/search/node_modules/pkg/dictionary/v8flags.js
new file mode 100644
index 0000000..4b1f12b
--- /dev/null
+++ b/includes/search/node_modules/pkg/dictionary/v8flags.js
@@ -0,0 +1,13 @@
+'use strict';
+
+module.exports = {
+ pkg: {
+ patches: {
+ 'index.js': [
+ "execFile(process.execPath, ['--v8-options'],",
+ "execFile(process.execPath, ['--v8-options'], " +
+ "{ env: { PKG_EXECPATH: 'PKG_INVOKE_NODEJS' } },",
+ ],
+ },
+ },
+};