Subpath imports
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- css, javascript
- Domain
- tooling
Research direction
Start with package.json and the main CSS file: reproduce the Node.js imports mapping with @import "#cssfiles/includes.css". Trace how the plugin resolves this subpath and confirm that the import no longer raises the reported SyntaxError.
Written by the indexing model from the issue text.
Description
Add https://nodejs.org/api/packages.html#subpath-imports to package.json then in the main css file import @import "#cssfiles/includes.css. There will be a SyntaxError Failed to find '#cssfiles/includes.css'.
"imports": {
"#cssfiles/*.css": "./cssfiles/*.css"
}
- Dominant language
- JavaScript
- Stars
- 1.4k
- Forks
- 117
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
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 postcss/postcss-import
-
discussion enhancement
Difficulty 4/5 3-5 days Newbie friendliness 52/100
postcss/postcss-import#492 · 11 comments · 21 reactions ·
-
Dependency Dashboard Opendeps
Difficulty 1/5 Under an hour Newbie friendliness 15/100
postcss/postcss-import#470 ·
All issues in postcss/postcss-import
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
mksglu/context-mode#1200 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
neondatabase/website#5944 ·
-
module: core
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
bigbluebutton/bigbluebutton#25849 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
jaegertracing/jaeger-ui#4506 ·