At Westonci.ca, we connect you with the answers you need, thanks to our active and informed community. Explore thousands of questions and answers from a knowledgeable community of experts ready to help you find solutions. Experience the convenience of finding accurate answers to your questions from knowledgeable experts on our platform.

How do i bundle a javascript file with angular.

Sagot :

nclude these js files as part of the webpack bundle. This seems like the way it probably should be done. However I am not sure how to do this as all of the webpack code seems to be hidden behind the angular-cli-webpack node package. I was thinking maybe there is another webpack config that we might have access to. But I am not sure as I didn't see one when creating a new angular-cli-webpack project.

More Info:

The js files I am trying to include need to be included before the Angular project. For example jQuery and a third party js lib that isn't really setup for module loading or typescript

please mark as brainlest answer