Skip to content

🐛 Duplicate entry of tailwind directives in specified CSS input file #7

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

Open
Harithmetic1 opened this issue Nov 14, 2022 · 0 comments · May be fixed by #10
Open

🐛 Duplicate entry of tailwind directives in specified CSS input file #7

Harithmetic1 opened this issue Nov 14, 2022 · 0 comments · May be fixed by #10
Assignees
Labels
bug Something isn't working

Comments

@Harithmetic1
Copy link
Collaborator

Harithmetic1 commented Nov 14, 2022

When initialising the package with an input file, the program does not check the file for tailwind directives before prepending the required directives to the file.

Steps to reproduce:
create a base.css file in the root directory
input the required tailwind directives i.e

@tailwind base;
@tailwind components;
@tailwind utilities;

in the base.css file

run
tailwindConfig init -i base.css

in your terminal

You will find that the base.css file has a duplicate entry of the tailwind directives. 👇🏾

@tailwind components;
@tailwind utilities;
@tailwind base;
@tailwind components;
@tailwind utilities;
@tailwind base;
@Harithmetic1 Harithmetic1 self-assigned this Nov 14, 2022
@Harithmetic1 Harithmetic1 added the bug Something isn't working label Nov 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant