Skip to content

Commit d52971c

Browse files
Version Packages (#1043)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 8a46bc2 commit d52971c

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

.changeset/fix-css-url-source-filter.md

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

packages/mantle-vite-plugins/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# @ngrok/mantle-vite-plugins
22

3+
## 0.1.3
4+
5+
### Patch Changes
6+
7+
- [#1042](https://github.com/ngrok-oss/mantle/pull/1042) [`8a46bc2`](https://github.com/ngrok-oss/mantle/commit/8a46bc2908188e5e381fb639372278b2a9cafff4) Thanks [@cody-dot-js](https://github.com/cody-dot-js)! - fix(mantle-vite-plugins): exclude `.css?url` imports from `@source` injection
8+
9+
Vite query suffixes like `?url` on CSS imports (e.g. `@ngrok/mantle/mantle-dark.css?url`) were not being filtered out, causing spurious `@source` directives like `@source "../node_modules/@ngrok/mantle/dist/mantle-dark.css?url.js"` to appear in the generated CSS block. The fix strips the query suffix before checking the file extension.
10+
311
## 0.1.2
412

513
### Patch Changes

packages/mantle-vite-plugins/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ngrok/mantle-vite-plugins",
3-
"version": "0.1.2",
3+
"version": "0.1.3",
44
"description": "Vite plugins for @ngrok/mantle.",
55
"homepage": "https://mantle.ngrok.com",
66
"license": "MIT",

0 commit comments

Comments
 (0)