Add ability to define packageFiles in extension.json
authorGilles Dubuc <gilles@wikimedia.org>
Mon, 11 Feb 2019 09:53:09 +0000 (10:53 +0100)
committerGilles Dubuc <gilles@wikimedia.org>
Mon, 11 Feb 2019 09:53:09 +0000 (10:53 +0100)
Bug: T215756
Change-Id: I97c3ccc13c54b424952ce15509b98a217b2670b1

docs/extension.schema.v2.json

index d561638..15a1590 100644 (file)
                                                                "noflip": {
                                                                        "type": "boolean",
                                                                        "description": "Whether to skip CSSJanus LTR-to-RTL flipping for this module. Recommended for styles imported from libraries that already properly handle their RTL styles. Default is false, meaning CSSJanus will be applied on RTL-mode output."
+                                                               },
+                                                               "packageFiles": {
+                                                                       "type": ["object", "array"],
+                                                                       "description": "Package files that can be require()d"
                                                                }
                                                        }
                                                },