Refactored Angular components to standalone modules, enhancing modularity and reducing dependency on `AppModule`. Updated routes to facilitate lazy loading for improved performance and maintainability. Replaced `platformBrowserDynamic` with `bootstrapApplication` for modern bootstrapping.
15 lines
341 B
Plaintext
15 lines
341 B
Plaintext
tasks.register<Exec>("npmInstall") {
|
|
commandLine("npm.cmd", "install")
|
|
// commandLine("npm", "install")
|
|
}
|
|
|
|
tasks.register<Exec>("ngBuild") {
|
|
dependsOn("npmInstall", "generateFrontendApi")
|
|
// commandLine("npm", "run", "build")
|
|
commandLine("npm.cmd", "run", "build")
|
|
}
|
|
|
|
//dependencies {
|
|
// implementation(project(":backend"))
|
|
//}
|