Skip to main content
0 votes
0 answers
92 views

Angular18 Jest unit test run time more than doubles after updating jest.config.test global{...} to transform{...}

In the package.json, I updated the devDependencies @angular-builders/jest": "^17.0.0" to "@angular-builders/jest": "^18.0.0" and "jest-preset-angular": &...
BetterCallSa-l's user avatar
0 votes
1 answer
2k views

Angular 19 CLI Builder Problem in different node versions

I can normally build my app in Angular 17 with either node 18.10.1 or 20.9.0. When I update to Angular 19 then my build stops working. Here is my package.json. { "name": "app", ...
kamilws's user avatar
  • 181
1 vote
1 answer
62 views

why recent angular project build outputs individual component css source map

I generated a new Angular 18 project from scratch and brought over my components to take advantage of new option defaults and settings. I'm happy I did so, but I noticed that it now seems to be ...
Brian's user avatar
  • 730
1 vote
0 answers
1k views

How to configure webpack.config.ts @angular-builders/custom-webpack Angular 18

I am using an Angular 18 project and @angular-builders/custom-webpack@18 for the custom Webpack configuration. The issue I am facing is that I am developing a web component that uses an image, and I ...
Logesh B's user avatar
0 votes
2 answers
766 views

Migration of module federation to native federation in angular 17 project

I am using angular CLI 17 and module federation 17. I am trying to migrate to angular new build system. In the existing angular.json, I have this builder "builder": "ngx-build-plus:...
Muqthar Ali's user avatar
1 vote
0 answers
609 views

In Angular 18 after migrating to the new build system I got an error: Cannot read properties of undefined (reading 'ɵcmp')

After migrating to the new build system. Using the command: ng update @angular/cli --name use-application-builder When I try to redirect on a route with lazyLoading module I got the error: TypeError: ...
Vitalii Litkevich's user avatar
0 votes
0 answers
59 views

Issue with module import when use multiple JS versions

I have library my-lib which is consumed by my-application. I have updated my-application and my-lib from Angular15 to Angular16. After that I recognize that There is issue with modules imports for ...
ruddnisrus's user avatar
1 vote
3 answers
1k views

Angular modules are not taking global styles and scss variables

In my angular app i have src/styles.scss @import "./styles/fonts"; @import "./styles/variables.scss"; and in src/styls/variables.scss $color-brand-darker: #2d323e; $color-brand-...
Code Guru's user avatar
  • 15.7k
1 vote
4 answers
1k views

Exclude standalone components depending on a build in Angular

I have two environments - one for testing and the second for the release. I have a standalone component that helps me with debugging, but I don't want to include this in the release build. How can I ...
Chocho's user avatar
  • 81
0 votes
0 answers
18 views

How to force angular while executing take files from /dist folder (now webpack takes them from it's memory)

The problem is that we have to test code coverage in our angular project. So we use nyc, nyc modified source files(and insert some code to collect code coverage), but the issue is that while serving ...
Artem Budnik's user avatar
1 vote
1 answer
726 views

Migrating a project using @angular-builders/custom-webpack to NX

I'm trying to migrate an Angular project that currently uses the "@angular-builders/custom-webpack build targets to an integrated NX monorepo and during the execution of npx nx@latest init --...
Francesco Borzi's user avatar
0 votes
1 answer
103 views

Force a variable to be a valid HTML template

In an Angular app, I am looking for a way to force a variable in TypeScript to be a valid HTML template, so that this will be compiled successfully: let v = '<div>bla…</div>' but this: ...
user22806183's user avatar
12 votes
2 answers
8k views

What is the difference between the "browser-esbuild" and "application" builders?

Docs description I saw this in the documentation but I was confused. Could anyone explain it to me better? At first I thought that "application" was for SSR but I don't know the real ...
Marcos Paulo's user avatar
0 votes
1 answer
416 views

Generate a production build for angular without including any dependencies in the bundle

I am creating a new angular application and want to be able to load all project dependencies such as angular libraries, rxjs, moment-js, etc externally from a common location (CDN) in the production ...
Prasanth's user avatar
0 votes
0 answers
196 views

Why after migrating angular from 8 to 9 i'm getting exceeded maximum budget on scss files

I migrated my Angular project from 8 to 9 When i execute the command ng build --prod I'am getting multiple errors on scss files similar to the following : ERROR in Exceeded maximum budget for /Users/...
Hassen Gaaya's user avatar

15 30 50 per page
1
2 3 4 5
7