You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -235,8 +221,7 @@ Define your hooks under the `nativescript` property:
235
221
},
236
222
{
237
223
"type": "after-prepare",
238
-
"script": "lib/after-prepare.js",
239
-
"inject": true
224
+
"script": "lib/after-prepare.js"
240
225
}
241
226
]
242
227
}
@@ -253,10 +238,6 @@ Specifies when the hook should execute. Format: `before-<hookName>` or `after-<h
253
238
254
239
The relative path from the plugin root to the hook implementation file.
255
240
256
-
#### inject (Optional)
257
-
258
-
Boolean property indicating whether the hook should be executed in-process (`true`) or spawned (`false`). When `inject: true`, the hook can access NativeScript CLI services.
259
-
260
241
#### name (Optional)
261
242
262
243
Custom name for the hook. Defaults to the plugin package name.
0 commit comments