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

add convenience command to minify tracker JS during development #19830

Merged
merged 2 commits into from Oct 10, 2022

Conversation

diosmosis
Copy link
Member

Description:

I'm working on a plugin that has some custom tracker JS code and noticed there's no instructions for minifying tracker JS. So I wrote this command which uses the instructions for minifying the core tracker JS to minify either that file, or the tracker JS for a plugin. Mostly for convenience.

Review

…UICompressor instructions), for core or a plugin.
@diosmosis diosmosis added the Needs Review PRs that need a code review label Oct 7, 2022
@diosmosis diosmosis changed the base branch from 4.x-dev to 5.x-dev October 7, 2022 09:53
@sgiehl
Copy link
Member

sgiehl commented Oct 7, 2022

@diosmosis
Copy link
Member Author

@sgiehl done

@sgiehl sgiehl merged commit 3611b1f into 5.x-dev Oct 10, 2022
@sgiehl sgiehl deleted the build-tracker-js-cmd branch October 10, 2022 07:03
bx80 pushed a commit that referenced this pull request Nov 25, 2022
* Add command to minify tracker JS during development (using existing YUICompressor instructions), for core or a plugin.

* Add docs in js/README.md for build-tracker-js command
@sgiehl sgiehl added this to the 5.0.0 milestone May 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Review PRs that need a code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants