Git Product home page Git Product logo

Comments (11)

adamwathan avatar adamwathan commented on May 22, 2024 4

Hey @patrikkernke! By default it outputs to the shell (in case for whatever absurd reason you wanted to pipe it into something else), but if you provide an output file using the -o flag, it will write the output there.

That said, there was a bug with this command in the 0.1.0 release that caused it to not write the file no matter what. That's been fixed but we haven't published the patch yet. I'll do it now :)

from tailwindcss.

adamwathan avatar adamwathan commented on May 22, 2024 1

Sorry for the drama folks! 😄

v0.1.1 is now on npm and should fix this issue 👍

from tailwindcss.

patrikkernke avatar patrikkernke commented on May 22, 2024 1

The output is now correct, for me that is the quickest bugfix in a github repo. From posting it to fix on my computer only 25min :)

Keep on your the amazing work!

from tailwindcss.

adamwathan avatar adamwathan commented on May 22, 2024 1

This is all fixed up in v0.1.2 👍

from tailwindcss.

patrikkernke avatar patrikkernke commented on May 22, 2024

Okay super :) Thank you for the quick reply.

from tailwindcss.

eduarguz avatar eduarguz commented on May 22, 2024

oh men, I was wandering around in this for a while, thanks for commenting, to confirm the -o flag didnt work for me either, waiting for the update.

thanks and awesome work

from tailwindcss.

olakara avatar olakara commented on May 22, 2024

@adamwathan I was hitting my head on this issue!! the output css was always going to console, instead of a file even after giving the -o flag.. Waiting for the update..

from tailwindcss.

patrikkernke avatar patrikkernke commented on May 22, 2024

I thought it is my npm version or some custom configuration on my computer :)
I am glad that @adamwathan is so quick ;)

from tailwindcss.

olakara avatar olakara commented on May 22, 2024

@adamwathan updated my package and was able to create the output file... but CLI still show version 0.1.0 when running tailwind --version.

from tailwindcss.

eduarguz avatar eduarguz commented on May 22, 2024

as the issue is still open, looks like the config file path is not "configurable" or not working on cli
https://github.com/tailwindcss/tailwindcss/blob/8e752f8e3ab8c54e42579764007480a3809ab6d5/src/cli.js#L78

I am not an expert just digging around with some console.log() debugging found that the config wildcard could be accessed using program.args[1].config

can anyone confirm? or am I doing something wrong??

from tailwindcss.

adamwathan avatar adamwathan commented on May 22, 2024

@eduarguzher You're right, I am an idiot and should have updated that option at the same time as the output file option 😩 Fixing!

from tailwindcss.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.