Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use ES2015 features in generated code snippets (#4215)
* Add generatedCode option stub * Prepare improved SystemJS exports * Introduce snippets to finalizers * Add indent to snippets * Use arrow functions in IIFE finalizer * Ensure tests have a description * Improve test cleanup * Separate indent again as it became unpredictable and possibly wrong * Replace functions in remaining wrappers * Wrap SystemJS and AMD factories for better performance * Do not use compact where it is not needed * Always destructure render options * Add object shorthand option * Use object shorthand for namespaces * Add option to not quote reserved names used as props * Refactor SystemJS reexports for simpler setters * Use arrow functions for import expressions * Update getExportBlock * Use snippets for interop helpers * Further convert interop helpers * Replace property access in export block * Add more arrow functions * Merge helper strings * Preserve context for amd/cjs dynamic non-arrow requires Resolves #3092 * Add presets * Use common helper for invalid option errors * Use property access for namespace generation * Update dependencies * Improve coverage * Update documentation * Use symbolic links to keep tests in sync * Start introducing new blockBindings option * Always use arrow functions for large IIFEs * Use block bindings for SystemJS output * Use block bindings in remaining places * Replace varOrConst * Get rid of remainint varOrConst usages * Account for Node 16 error messages * Deprecated preferConst * Properly merge external namespaces * Refine namespace merge * Rename blockBindings -> constBindings * Update docs * Do not quote props for ES5 * Use more efficient loops for const bindings * Refine loop formatting * Merge directReturnFunction left and right * Refine code formatting * Update dependencies
- Loading branch information
1 parent
5700728
commit ca86df2
Showing
2,938 changed files
with
18,451 additions
and
12,497 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.