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

Version Packages #4

Merged
merged 1 commit into from
Mar 12, 2024
Merged

Version Packages #4

merged 1 commit into from
Mar 12, 2024

Conversation

github-actions[bot]
Copy link
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

[email protected]

Minor Changes

  • 6800079: feat: add passing sourceFiles option and expose onLoadCallback
    feat: add inline option

    The sourceFiles option must be a map of absolute file path to file contents.
    This allows passing in files that has been transformed by other plugins. This
    feature was added as a temporary workaround for a bug involving multiple
    plugins filtering the same file type. bun plugin: plugin build.onLoad loads other plugins when it shouldn't (?) and the rest of build.onLoad plugins are not called. oven-sh/bun#9373

    The inline option allows bundling the script as an inline script tag. If the
    plugin is running during runtime (preload), it will inline the script tag with
    the contents of the script by default regardless of the inline option. If the
    plugin is running during build time (Bun.build()) and the inline option is true,
    it will inline the script tag with the contents of the script, otherwise it will
    copy/download the referenced script to outDir.

@hambergerpls hambergerpls merged commit fb95a63 into main Mar 12, 2024
@hambergerpls hambergerpls deleted the changeset-release/main branch March 12, 2024 12:41
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