E
E
ethxz2019-09-12 12:03:34
Angular
ethxz, 2019-09-12 12:03:34

Is it possible to upload files via links from CDN to a local folder at the project build stage?

Hello!
I downloaded a large Anagular project from github. When assembled in a ready-made bundle, there are a lot of external links to various CDNs. I would like to download all external links to css, js, webfonts once into the source folder and pull them from there. The project is planned to run on a local network, without access to the Internet. Without these files, the whole design is distorted, and so on ...
Advise on how to do this? Plugin for webpack? Or some other tool...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pavel Pikat, 2019-09-12
@PavelPikat

Download all the files, add them to the project, and assign them as dependencies in angular.json so that they are included in the bundle when the project is built

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question