public class YarnModule extends NodeModule
{
install(new YarnModule("v12.16.1"));
}
Your package.json must defines a build task. To execute a custom task:
{
install(
new YarnModule("v12.16.1")
.execute("run", "mytask")
);
}
Complete documentation is available at: https://jooby.io/modules/frontend| Constructor and Description |
|---|
YarnModule(String nodeVersion,
String yarnVersion)
Creates a new Yarn module.
|
execute, executeOnce, install, installDirectory, workDirectoryCopyright © 2023. All rights reserved.