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

feat: support path query #53

Merged
merged 1 commit into from Oct 13, 2022
Merged

feat: support path query #53

merged 1 commit into from Oct 13, 2022

Conversation

ofzo
Copy link
Contributor

@ofzo ofzo commented Sep 30, 2022

allow use query in .svg path

import Icon from "/path/to/svg/icon.svg?component"

in config

{
   plugins: [svgr({
      includes:[ "**/*.svg?component" ]
   })]
}

@pd4d10 pd4d10 merged commit b4d523a into pd4d10:main Oct 13, 2022
@ofzo ofzo deleted the feature/support-query branch October 13, 2022 10:24
fwouts pushed a commit to fwouts/previewjs that referenced this pull request Oct 13, 2022
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [vite-plugin-svgr](https://togithub.com/pd4d10/vite-plugin-svgr) |
[`2.2.1` ->
`2.2.2`](https://renovatebot.com/diffs/npm/vite-plugin-svgr/2.2.1/2.2.2)
|
[![age](https://badges.renovateapi.com/packages/npm/vite-plugin-svgr/2.2.2/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/vite-plugin-svgr/2.2.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/vite-plugin-svgr/2.2.2/compatibility-slim/2.2.1)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/vite-plugin-svgr/2.2.2/confidence-slim/2.2.1)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>pd4d10/vite-plugin-svgr</summary>

###
[`v2.2.2`](https://togithub.com/pd4d10/vite-plugin-svgr/releases/tag/v2.2.2)

[Compare
Source](https://togithub.com/pd4d10/vite-plugin-svgr/compare/v2.2.1...v2.2.2)

#####    🐞 Bug Fixes

- Support path query  -  by
[@&#8203;roadupcc](https://togithub.com/roadupcc) in
[pd4d10/vite-plugin-svgr#53
- Preact type compatibility  -  by
[@&#8203;XantreGodlike](https://togithub.com/XantreGodlike) in
[pd4d10/vite-plugin-svgr#56

#####     [View changes on
GitHub](https://togithub.com/pd4d10/vite-plugin-svgr/compare/v2.2.1...v2.2.2)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click
this checkbox.

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/fwouts/previewjs).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4yMzYuMSIsInVwZGF0ZWRJblZlciI6IjMyLjIzNi4xIn0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
marvinruder pushed a commit to marvinruder/rating-tracker-frontend that referenced this pull request Oct 15, 2022
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [vite-plugin-svgr](https://togithub.com/pd4d10/vite-plugin-svgr) |
[`^2.2.1` ->
`^2.2.2`](https://renovatebot.com/diffs/npm/vite-plugin-svgr/2.2.1/2.2.2)
|
[![age](https://badges.renovateapi.com/packages/npm/vite-plugin-svgr/2.2.2/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/vite-plugin-svgr/2.2.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/vite-plugin-svgr/2.2.2/compatibility-slim/2.2.1)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/vite-plugin-svgr/2.2.2/confidence-slim/2.2.1)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>pd4d10/vite-plugin-svgr</summary>

###
[`v2.2.2`](https://togithub.com/pd4d10/vite-plugin-svgr/releases/tag/v2.2.2)

[Compare
Source](https://togithub.com/pd4d10/vite-plugin-svgr/compare/v2.2.1...v2.2.2)

#####    🐞 Bug Fixes

- Support path query  -  by
[@&#8203;roadupcc](https://togithub.com/roadupcc) in
[pd4d10/vite-plugin-svgr#53
- Preact type compatibility  -  by
[@&#8203;XantreGodlike](https://togithub.com/XantreGodlike) in
[pd4d10/vite-plugin-svgr#56

#####     [View changes on
GitHub](https://togithub.com/pd4d10/vite-plugin-svgr/compare/v2.2.1...v2.2.2)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "every weekend" in timezone
Europe/Berlin, Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click
this checkbox.

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/marvinruder/rating-tracker-frontend).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4yMzcuMCIsInVwZGF0ZWRJblZlciI6IjMyLjIzNy4wIn0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
marvinruder pushed a commit to marvinruder/rating-tracker that referenced this pull request Nov 12, 2022
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [vite-plugin-svgr](https://togithub.com/pd4d10/vite-plugin-svgr) |
[`^2.2.1` ->
`^2.2.2`](https://renovatebot.com/diffs/npm/vite-plugin-svgr/2.2.1/2.2.2)
|
[![age](https://badges.renovateapi.com/packages/npm/vite-plugin-svgr/2.2.2/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/vite-plugin-svgr/2.2.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/vite-plugin-svgr/2.2.2/compatibility-slim/2.2.1)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/vite-plugin-svgr/2.2.2/confidence-slim/2.2.1)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>pd4d10/vite-plugin-svgr</summary>

###
[`v2.2.2`](https://togithub.com/pd4d10/vite-plugin-svgr/releases/tag/v2.2.2)

[Compare
Source](https://togithub.com/pd4d10/vite-plugin-svgr/compare/v2.2.1...v2.2.2)

#####    🐞 Bug Fixes

- Support path query  -  by
[@&#8203;roadupcc](https://togithub.com/roadupcc) in
[pd4d10/vite-plugin-svgr#53
- Preact type compatibility  -  by
[@&#8203;XantreGodlike](https://togithub.com/XantreGodlike) in
[pd4d10/vite-plugin-svgr#56

#####     [View changes on
GitHub](https://togithub.com/pd4d10/vite-plugin-svgr/compare/v2.2.1...v2.2.2)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "every weekend" in timezone
Europe/Berlin, Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click
this checkbox.

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/marvinruder/rating-tracker-frontend).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4yMzcuMCIsInVwZGF0ZWRJblZlciI6IjMyLjIzNy4wIn0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
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.

None yet

2 participants