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
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions .changeset/sharp-pandas-judge.md

This file was deleted.

19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
# bun-plugin-jsx-script-bundler

## 0.1.0

### 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. 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.

## 0.0.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bun-plugin-jsx-script-bundler",
"version": "0.0.1",
"version": "0.1.0",
"module": "index.ts",
"type": "module",
"types": "index.ts",
Expand Down