@Retention(value=RUNTIME) @Target(value=TYPE) @Documented @Inherited @Repeatable(value=NpmPackage.Container.class) public @interface NpmPackage
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.
public abstract String version
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.
Copyright © 2023. All rights reserved.