Skip to content

Commit c0d78b2

Browse files
authored
doc(plugin.xml): Update engine requirements recommendation for Cordova (#1451)
- Make clear, that the <engines> tag in plugin.xml is still required
1 parent bedfdf1 commit c0d78b2

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

www/docs/en/dev/plugin_ref/spec.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,7 @@ Example:
5151

5252
The child elements of the `<engines>` element specify versions of Apache Cordova-based frameworks that this plugin supports. The CLI aborts with a non-zero code for any plugin whose target project does not meet the engine's constraints. If no <engine> tags are specified, the CLI attempts to install into the specified cordova project directory blindly.
5353

54-
>NOTE: In **Cordova 6.1.0+**, the recommended place to specify platform, plugin, and CLI dependencies
55-
>is in a plugin's `package.json`. See [specifying Cordova dependencies](../guide/hybrid/plugins/index.html#specifying-cordova-dependencies)
56-
>for more information
54+
> NOTE: Starting in **Cordova 6.1.0**, it is recommended to include the platform and CLI engine requirements in the plugin's `package.json`, in addition to the `<engines>` declaration in `plugin.xml`. See [Specifying Cordova Dependencies](../guide/hybrid/plugins/index.html#specifying-cordova-dependencies) for more information.
5755
5856
Attributes | Description
5957
---------------- | ------------

0 commit comments

Comments
 (0)