22 questions
2
votes
2
answers
231
views
(Angular 18) Getting "ChunkLoadError" when using signalr with ngx-build plus
Environments
Angular Version: ~18.2.2
Signalr: @microsoft/signalr: "^8.0.7"
Microfrontend Library: @angular-architects/module-federation: 18.0.4
Webpack: 5.94.0
Webpack-cli: ^5.1.4
ngx-...
1
vote
0
answers
2k
views
ngx-build-plus:externals not working for Angular 14
Since upgrading my Angular project from Angular12 to Angular 14, I receive following error:
ng serve --extra-webpack-config webpack.partial.js -o or ng serve or ng build all result in:
***************...
3
votes
1
answer
2k
views
ngx-build-plus:externals not working for Angular 13
As Angular 13 is not producing UMD-Bundles any longer
the command
ng g ngx-build-plus:externals --project MY_PROJECT
currently creates an invalid angular.json (pointing to the non-existing UMD-Bundles)...
3
votes
1
answer
424
views
angular elements in firefox "this.ngElementStrategy is undefined"
I'm using ngx-build-plus for compile element to js.
class NgElementImpl
Error ERROR TypeError: can't access property "events", this.ngElementStrategy is undefined throw at line 512. And the ...
1
vote
1
answer
705
views
load remote url in angular route loadchildren
I am trying to load a lazy-loaded application from a server
localhost://4600
inside a client application
localhost://3000
as an angular-element using ngx-build-plus, but when I load the angular ...
2
votes
0
answers
379
views
How to share external libraries between multiple angular elements
I'm currently working with Angular Elements and more specifically trying to make multiple Elements communicate and interact with each other. In my case, the two elements I am trying to create share an ...
2
votes
1
answer
973
views
While creating angular-element, multiple chunk files are generated. How to I merge all of them into one
I have created an angular element and bundled it using ngx-build-plus.
After bundling, other than the main,vendor, polyfills etc, I have 100+ chunk files in my dist folder.
How do I merge them all ...
1
vote
1
answer
2k
views
Angular running custom plugin after build
I am trying to add async-css-plugin (https://www.npmjs.com/package/async-css-plugin) to Angular project. What this plugin does is, it converts the external style link tag in html file to something ...
0
votes
1
answer
763
views
Angular requires micro frontend's polyfills.js as well as vendor.js with main.js to load the element. And only loads the 1st declared main.js
I have build 2 micro apps with angular elements. Built the micro apps with ngx-built-blus with --output-hashing non --single-bundle true. Served them in 2 different ports in localhost. I'm currently ...
3
votes
0
answers
635
views
ngx build plus using url-loader
I'm trying to extend Angular CLI build by ngx-build-plus. All is working fine except one thing. I need to use url-loader for png and svg images. I expect that it will replace urls in css by code of ...
1
vote
0
answers
62
views
Externalize Kendo UI module from Angular app
I'm using ngx build plus and trying to externalize a Kendo module, like Kendo Angular Buttons. Issue I'm running into is the Kendo UI library does not have a .umd file (its not an Angular library ...