Thank you for this workaround... SVG issue.
@yarastqt is already working on this.
Since Apr 6, 2022.
Assessment
This issue has not been assessed yet.
Description
I currently have a project that has globalCSS in npm components and this workaround is what I'm attempting to use.
Unfortunately, I also use the next-images package for important images of all file types (including SVGs).
No matter what, running next-global-css attempts to also parse SVG files and always errors with:
error - SyntaxError: Unexpected token '<'
Is there a way to exclude SVG files easily from next-global-css, or make it skip them entirely by default?
- Dominant language
- JavaScript
- Stars
- 91
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from bem/next-global-css
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
bem/next-global-css#18 ·
-
require() of ES modules is not supported.May be free again @yarastqt claimed this 1577 days ago, and no pull request is open. Open
bem/next-global-css#17 · 2 reactions · 1 assignee ·
All issues in bem/next-global-css
Similar issues
-
external-plugin ready-for-review third party
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
github/awesome-copilot#5713 · 1 comment ·
Maintainers usually reply within 1 day
-
Mend: dependency security vulnerability
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
carbon-design-system/carbon-react-router-starter#1005 ·
Maintainers usually reply within 1 day
-
enhancement p2 setup
Difficulty 1/5 Under an hour Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Query Log shows "Upstream" for CNAME cloaking, schedule, NXDOMAIN hijack and response IP blocksOpenbug good first issue query-log web
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
ferrous-networking/ferrous-dns#326 ·
Maintainers usually reply within 1 day