From 86809b2409e6c8f18c8d726c2fee596f4529fa71 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 12 Mar 2024 12:40:12 +0000 Subject: [PATCH] Version Packages --- .changeset/sharp-pandas-judge.md | 18 ------------------ CHANGELOG.md | 19 +++++++++++++++++++ package.json | 2 +- 3 files changed, 20 insertions(+), 19 deletions(-) delete mode 100644 .changeset/sharp-pandas-judge.md diff --git a/.changeset/sharp-pandas-judge.md b/.changeset/sharp-pandas-judge.md deleted file mode 100644 index b26d791..0000000 --- a/.changeset/sharp-pandas-judge.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -"bun-plugin-jsx-script-bundler": minor ---- - -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. \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index b5c6bc5..8a19eee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/package.json b/package.json index 829f1e6..db3dcb3 100644 --- a/package.json +++ b/package.json @@ -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",