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.

Hassle-free blogging platform that developers and teams love.
  • Docs by Hashnode
    New
  • Blogs
  • AI Markdown Editor
  • GraphQL APIs
  • Open source Starter-kit

© Hashnode 2024 — LinearBytes Inc.

Privacy PolicyTermsCode of Conduct