We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
Annotation for defining an NPM package dependency on a Component
class which includes one or more JS modules. The JS Modules can be defined
using JsModule annotation on the same Component. For adding
multiple NPM packages files for a single component, you can use this
annotation multiple times.
Declared NPM packages will be bundled by flow-maven-plugin in a package.json
file, making sure that only one dependency is created.
Defines the NPM package version. It should meet the 'd.d.d' or the
'd.d.d-suffix' pattern.
Troubleshooting: when two or more annotations with the same package value
are found in the class-path, and their versions do not match the build
process will fail.