Skip to content

Commit 945ded7

Browse files
committed
RELEASING: Releasing 2 package(s)
Releases: [email protected] @repo/[email protected]
1 parent 158d4b0 commit 945ded7

File tree

6 files changed

+34
-28
lines changed

6 files changed

+34
-28
lines changed

.changeset/upgrade.md

Lines changed: 0 additions & 17 deletions
This file was deleted.

lib/CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
# esbuild-raw-plugin
22

3+
## 0.3.0
4+
5+
### Minor Changes
6+
7+
- a899336: ### ✨ Enhancements
8+
- Replaced `textExtensions` with `customLoaders` for fine-grained extension-to-loader mapping.
9+
- Introduced `name` option for overriding the plugin name (useful for debugging or deduplication).
10+
- Added support for multiple query-based loaders: `?text`, `?base64`, `?dataurl`, `?file`, `?binary`.
11+
- Improved fallback logic for resolving files: now tries extensions or `index.[ext]` for folders.
12+
- Regex-based `onLoad` filtering boosts performance (leveraging Go-native ESBuild internals).
13+
14+
### 🛠 Internal Refactors
15+
- Code refactored for better readability and maintainability.
16+
- Error messages are now clearer and more actionable.
17+
- Switched to consistent plugin naming (`"esbuild-raw-plugin"` instead of randomized suffix).
18+
319
## 0.2.0
420

521
### Minor Changes

lib/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "esbuild-raw-plugin",
33
"author": "Mayank Kumar Chaudhari <https://mayank-chaudhari.vercel.app>",
44
"private": false,
5-
"version": "0.2.0",
5+
"version": "0.3.0",
66
"description": "An ESBuild and TSUP plugin that allows importing files as raw text. Useful for loading code files in documentation, interactive demos, or tools like react-live.",
77
"license": "MPL-2.0",
88
"main": "./dist/index.js",

packages/shared/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# @repo/shared
22

3+
## 0.0.4
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [a899336]
8+
9+
310
## 0.0.3
411

512
### Patch Changes

packages/shared/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@repo/shared",
3-
"version": "0.0.3",
3+
"version": "0.0.4",
44
"private": true,
55
"sideEffects": false,
66
"main": "./dist/index.js",

pnpm-lock.yaml

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)