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

[PoC] Refactor bundle process to exclude debug-files and enable source maps #657

Closed
wants to merge 10 commits into from

Conversation

RandomByte
Copy link
Member

@RandomByte RandomByte commented Oct 29, 2021

⚠️ This is a breaking change considered for the UI5 Tooling 3.0 release

Depends on SAP/ui5-fs#331

  • Combine debug-file creation, minification and source-map generation into a single minify task
    • Replaces existing uglify and createDebugFiles tasks
  • Tag debug-files with new "global" (=shared across projects) tag IsDebugVariant
  • Filter debug-files from moduleBundler so that it only packages minified or debug-sources (depending on optimize bundleOption)
    • Existing source maps are transformed during bundling

Combines debug-file creation, source-map generation and minification and
replaces existing tasks/processors
@RandomByte RandomByte changed the title BuildContext: Introduce global tag 'IsDebugVariant' Refactor bundle process to exclude debug-files and enable source maps Oct 29, 2021
@RandomByte RandomByte changed the title Refactor bundle process to exclude debug-files and enable source maps [PoC] Refactor bundle process to exclude debug-files and enable source maps Nov 15, 2021
@RandomByte
Copy link
Member Author

minify task implemented with #666

@RandomByte
Copy link
Member Author

Source maps have been added with #695

@RandomByte RandomByte closed this Aug 5, 2022
@RandomByte RandomByte deleted the bundle-process-refactoring branch August 5, 2022 08:56
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.

1 participant