Comments (11)
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.
Sorry for the drama folks! 😄
v0.1.1 is now on npm and should fix this issue 👍
from tailwindcss.
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.
This is all fixed up in v0.1.2 👍
from tailwindcss.
Okay super :) Thank you for the quick reply.
from tailwindcss.
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.
@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.
I thought it is my npm version or some custom configuration on my computer :)
I am glad that @adamwathan is so quick ;)
from tailwindcss.
@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.
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.
@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)
- [v4] @apply not effected (SvelteKit, Vite) HOT 6
- [v4] @tailwindcss/[email protected] throws internal error on clean install HOT 2
- space-x-4 not working in alpha-10 with Vite plugin and Svelte and Firefox HOT 1
- Blade style @apply directive doesn't work HOT 2
- Tailwind CSS does not work with native nested CSS HOT 2
- Reached heap limit Allocation failed
- [v4] @apply previous custom classes error HOT 3
- comment on "start of block" is confused
- `important` option doesn't affect arbitrary properties HOT 1
- [v4] `i?.waitForRequestsIdle is not a function` HOT 2
- shadow-2xl does't work
- [v4]: variable-based classes only seem to use initial value, and not the theme values HOT 6
- The '--output' option returns usage information HOT 1
- ring-offset-color opacity will mix with ring-color, result is not as expected
- "@apply dark:" classes do not work on ":host" selectors in Angular scss files when "darkMode" strategy is set to "selector" HOT 1
- `<input>`s, `<button>`s, etc don't inherit letter spacing HOT 2
- [v4] TailwindCSS error in Vite: i?.waitForRequestsIdle is not a function HOT 2
- 3.4.2 introduced breaking change with PR #12715 HOT 8
- [v4] "waitForRequestsIdle" causes the initial load to be very slow or throw timeout. HOT 1
- `fixed` element behaves like an `absolute` element in `dark mode` HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tailwindcss.