feat: Handle scss, sass or less as input correctly#4
feat: Handle scss, sass or less as input correctly#4daniel-rose wants to merge 1 commit intomindplay-dk:masterfrom
Conversation
Signed-off-by: Daniel Rose <daniel-rose@gmx.de>
|
hi Daniel, sorry, but I don't understand the use-case or the changes you're proposing. when or why would you have an are you building a library? and in that case, why would you want to emit tags? are you just trying to make the CSS load? in that case either way, I'm not comfortable merging a change like this without test coverage. |
|
This is exactly what I need! Here's my use case: I have a legacy PHP app with per-page I could make, .e.g., |
|
Sorry, but it's been 6 months, I don't even know what this issue was about anymore. I am not currently working with PHP, so this is probably not something I will look into again anytime soon. I will leave this issue open, but if you need something changed urgently, you should probably just fork. 😌 |
|
any news? |
not from me - as explained, I don't use PHP at the moment. it seems there are now 3 of you who are interested in this feature - if you'd like to explain why it's needed etc. (see above) and assuming the change gets updated with test coverage and docs (if needed) I'd be happy to merge this. |
|
(it sounds like this change addresses a problem? so a PR should include a failing regression test in a prior commit.) |
|
Closed in favor of #6 |
Currently, inputs of type scss, sass or less are rendered with the script tag. This pull request ensures that the link tag provided for this purpose is used.
Here is an example vite configuration that can be used to simulate the problem: