Sign in
Log inSign up

Which one is the best use case for loading external scripts/CSS in angular 2+

biplab malakar's photo
biplab malakar
·Jul 5, 2018

I have a Node_modules which uses CSS and Script file in it.

There are two ways to load these resources.

  1. External script and CSS
  2. NPM modules

Using in node_modules will it increase main and style bundles size???

I am the little bit confused about which one should be used, guys please give your opinion.