Beginning rework eendraadschema to be compliant with Vite framework and ESM modules#9
Open
verschaevesiebe wants to merge 2 commits intoigoethal:masterfrom
Open
Beginning rework eendraadschema to be compliant with Vite framework and ESM modules#9verschaevesiebe wants to merge 2 commits intoigoethal:masterfrom
verschaevesiebe wants to merge 2 commits intoigoethal:masterfrom
Conversation
added 2 commits
April 29, 2025 14:33
- Implemented LocalStorageService class to handle saving, retrieving, adding, updating, and deleting items in localStorage. - Added methods for managing arrays of objects with error handling for localStorage operations. chore: initialize TypeScript configuration - Created tsconfig.json with settings for ES2020, module resolution, and linting options. - Configured TypeScript to include the src directory for compilation.
…ettings - Integrated vite-plugin-javascript-obfuscator for code obfuscation during build - Configured Terser for aggressive minification, including: - Mangle top-level variable names - Remove console and debugger statements - Strip all comments from the output - Set build options to empty output directory before each build
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A pullrequest to transfer simple plain html & javascript to Vite.
This brings a lot of advantages where we can provide a way to seperate concerns and implementations as currently the application has loads of typescript files that all share the same "global variables on a window level".
I've replicated the same behaviour through the use of the window object within ESM module.
I propose to thoroughly test the application out (normally everything works except for the situatieplan as this functionality isn't included, why ? )
Please let me know comments or if there's questions we can always contact eachother.