parcel-bundler / parcel-bundler/lightningcss
Single input errors with claim of multiple inputs
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 7.7k
- Forks
- 302
- PR merge metrics
- No merged PRs in 30d
Description
Attempting to run the CLI with slightly modified sample command (as described in the docs):
lightningcss --minify --bundle --targets ">= 0.25%" css/main.css -o dist/main.css
Causes the error:
Cannot use the --output-file option with multiple inputs. Use --output-dir instead.
How do I make it understand there's no multiple inputs because I'm pretty sure there's only one defined in that? Though honestly this seems like a bug in the CLI.
Some extra info:
CLI version: 1.27.0
If it matters, I am running this through bun, on Windows 11 Power Shell.
Contributor guide
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.
Research direction
Start by reproducing the documented lightningcss command with version 1.27.0, particularly on the reported Windows PowerShell and Bun setup. Trace how the CLI parses the positional CSS input and --output-file, then verify that a single input no longer triggers the multiple-input error and add regression coverage if the project’s test structure supports it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100