Skip to content

Remove external dependency #5

@Mika56

Description

@Mika56

We'll be using your package in one of our project.
However, I've discovered that this package will inject a <style> element in the <head>, pointing to jsdelivr CDN.
We're not big fans of using external resources for various reasons (mainly availability and security).

Proposed change

  • Add an option named disableCDN (bool) or stylesheetBaseURL (string|false), which would disable auto inserting of <link> element, or point it to a custom CDN.
  • Add load-awesome to the package.json's peerDependencies element, skipping its installation by default if users want to use a CDN

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions