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

[Bug]: $@ is not working #1144

Open
1 task done
coo-kiee opened this issue Aug 17, 2023 · 0 comments
Open
1 task done

[Bug]: $@ is not working #1144

coo-kiee opened this issue Aug 17, 2023 · 0 comments
Labels

Comments

@coo-kiee
Copy link

Describe the bug

When i want to insert cli in my package.json,

purgecss not recognized $@

it just comment this:

No matches found: "./apps/$@/build/static/css/*.css"

To Reproduce

Step1. install purgecss

yarn add -D purgecss

Step 2. add scripts in package.json

"purge-css": "purgecss --css ./apps/$@/build/static/css/*.css --content ./apps/$@/build/index.html build/static/js/*.js --output ./apps/$@/build/static/css"

Step 3. excute cli

yarn purge-css my-repo

Expected Behavior

the cli excute like this:

purgecss --css ./apps/my-repo/build/static/css/*.css --content ./apps/my-repo/build/index.html build/static/js/*.js --output ./apps/my-repo/build/static/css

Environment

OS: wsl 1
Package-Manager: yarn berry 3.3.1

Add any other context about the problem here

context

Code of Conduct

  • I agree to follow this project's Code of Conduct
@coo-kiee coo-kiee added the bug label Aug 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant