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

Refactor JS to use ES modules #3476

Merged
merged 1 commit into from
Apr 19, 2023
Merged

Refactor JS to use ES modules #3476

merged 1 commit into from
Apr 19, 2023

Conversation

AlecRust
Copy link
Member

Refactors the application's main JS in to ES modules built in to a single bundle.

Rewrites various bits of jQuery functionality in vanilla JS.

Packages can now be used e.g. nanoid is now used for password generation.

As much manual testing of this branch as possible would be greatly appreciated.

@jakobbouchard
Copy link
Contributor

I'm gonna have to test on my server later, but the files and code all seem good to me! Having them split into multiple files like that will make refactoring small parts much easier! Stuff like removing jQuery, using Alpine instead of some of the querySelector, etc. Good job!

@AlecRust AlecRust marked this pull request as ready for review April 19, 2023 12:18
@AlecRust AlecRust added this pull request to the merge queue Apr 19, 2023
Merged via the queue into main with commit 50325c5 Apr 19, 2023
@AlecRust AlecRust deleted the js-modules branch April 19, 2023 19:39
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

Successfully merging this pull request may close these issues.

3 participants