Is Tailwind CSS users violating the MIT license? #11094
Replies: 4 comments
-
is there any answer for this question? i kinda curious about this too |
Beta Was this translation helpful? Give feedback.
-
It may be helpful to allow some sort of template text for output files to be configured as I would really like to be able to put a comment at the beginning of the file that indicates that the file is generated (to warn users not to edit it directly) |
Beta Was this translation helpful? Give feedback.
-
I am not a lawyer, but I am not sure if CSS output should even have a MIT license? Isn't this like compiled output from a compiler? The license of the compiler does not apply to the compiled output? I think the fact that TailwindCSS adds that banner is misleading and they should not be doing that. And if you say that in the case of TailwindCSS it combines pre-made (licensed) parts together, then I say that compilers do that as well. A compiler has a pre-made part for how to convert a for loop in C into assembly, for example. |
Beta Was this translation helpful? Give feedback.
-
There is a followup to the discussion here. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, quick question regarding the MIT license compliance.
Are we, the users in violation of MIT license since I don't see the copyright notice of the license itself in the output file?
All I see is
/*! tailwindcss v3.0.24 | MIT License | https://tailwindcss.com*/*
.To be clear I am not talking about the github repo of Tailwind CSS. But the output .css file generated with Tailwind CSS.
From my understanding of the MIT license, the end user should include the copyright notice in it's entirety. From MIT license text:
Which is the only condition in the MIT license. Which means when I am using Tailwind CSS, the generated output css file should include the below:
Reading around, I came across the below which confirms my doubt - https://drewdevault.com/2022/02/07/Free-software-licenses-MIT.html:
If I am indeed right about the MIT license violation, changing the output file which already says MIT license:
/*! tailwindcss v3.0.24 | MIT License | https://tailwindcss.com*/*
to include the copyright notice should solve the issue. Otherwise, everyone is violating the MIT license unless they specifically include the copyright notice after generating the output .css file. Which is always error prone and cumbersome.PS: Do let me know if I should be opening a ticket as well. I thought it would be a good idea to open up a discussion before creating a ticket.
Beta Was this translation helpful? Give feedback.
All reactions