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

fix the same namespaces in every file if using --stdio #869

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

madmaniak
Copy link
Member

Running cat file | imbac -s will transpile file properly but css namespaces will be always the same - as there's no sourcePath. To fix this we can provide sourceId which without any changes becomes a css namespace. After all to have no troubles we need to run -s flag always together with --source-id [id] flag.

imbac -s will work itself after merging #864. Use branch from this pull request for testing.

Running `cat file | imbac -s` will transpile file properly but style namespace will be always the same - as there's no sourcePath. To fix this we can provide sourceId which without any changes becomes a css namespace. After all to have no troubles we need to run `-s` flag always together with `--source-id [id]` flag.
@madmaniak madmaniak added the bug label Aug 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant