Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove vendored and external JS dependencies #551

Open
brassy-endomorph opened this issue Sep 9, 2024 · 0 comments
Open

Remove vendored and external JS dependencies #551

brassy-endomorph opened this issue Sep 9, 2024 · 0 comments

Comments

@brassy-endomorph
Copy link
Collaborator

Is your feature request related to a problem? Please describe.

We should be able to lock down the CSP to only resources hosted on the site, not having a script tag that pulls from a 3rd party repo. Also, we shouldn't have to vendor JS libraries.

Describe the solution you'd like

Webpack seems like the best candidate for just taking a few JS libraries, bundling, and putting them in the /static/ directory.

Describe alternatives you've considered

I am not a frontend dev, and Webpack is what I've used for a long time. A simple config is relatively (lol) straightforward, and it's somewhat agnostic relative to other tools that are more tightly coupled to certain frameworks. If someone really have good JS chops and knows of a stable build tool, please suggest one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant