-
Notifications
You must be signed in to change notification settings - Fork 0
chore: add multi-target build system with run-all helper #89
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
Merged
Conversation
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
Coverage Report
File CoverageNo changed files found. |
e5c45fd
to
576d884
Compare
576d884
to
3c59dae
Compare
|
3c59dae
to
fce658e
Compare
fce658e
to
f86ee62
Compare
amtins
reviewed
Sep 24, 2025
0d889af
to
fc8c830
Compare
fc8c830
to
d7b5b89
Compare
Introduces a complete multi-target build system across the template and packages, simplifying and standardizing builds with multiple outputs. Changes include: - Updated `create` template: - Added `.build.config.js` defining the default build and instructions for adding new targets. - `vite.config.lib.js` and `vite.config.umd.js` now dynamically import the current build target from `.build.config.js` via the `BUILD_TARGET` environment variable. - The template now ships with multi-output builds by default. - Added `npm-run-all` and `rimraf` helper scripts to reduce boilerplate in `package.json`. - Updated packages to use the new system: - `pillarbox-playlist` and `google-cast-sender` plugins now supports multi-output builds. - All package `build` scripts now leverage the helper script to ensure consistency.
d7b5b89
to
07788f4
Compare
amtins
reviewed
Oct 8, 2025
amtins
approved these changes
Oct 8, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Amazing thank you!
🎉 This PR is included in version @srgssr/google-cast-sender-v1.2.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🎉 This PR is included in version @srgssr/pillarbox-playlist-v3.1.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
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.
Description
Introduces a complete multi-target build system across the template and packages, simplifying and standardizing builds with multiple outputs.
Changes Made
Updated
create
template:.build.config.js
defining the default build and instructions for adding new targets.vite.config.lib.js
andvite.config.umd.js
now dynamically import the current build targetfrom
.build.config.js
via theBUILD_TARGET
environment variable.Added
npm-run-all
andrimraf
helper scripts to reduce boilerplate inpackage.json
.Updated packages to use the new system:
pillarbox-playlist
andgoogle-cast-sender
plugins now supports multi-output builds.build
scripts now leverage the helper script to ensure consistency.Checklist