You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the current behavior?
The attributes of the style or link tag that is appended to the DOM are configurable thanks to the attrs options, except for type which is always set to "text/css"
If the current behavior is a bug, please provide the steps to reproduce.
What is the expected behavior?
The type could be configurable just like all other attributes.
If this is a feature request, what is motivation or use case for changing the behavior?
Projects using less in browser need style elements with the type text/less to be appended to the DOM.
Please mention other relevant information such as your webpack version, Node.js version and Operating System.
This could be a 4 lines change. I believe that replacing:
Do you want to request a feature or report a bug?
Request a feature
What is the current behavior?
The attributes of the style or link tag that is appended to the DOM are configurable thanks to the
attrs
options, except fortype
which is always set to "text/css"If the current behavior is a bug, please provide the steps to reproduce.
What is the expected behavior?
The type could be configurable just like all other attributes.
If this is a feature request, what is motivation or use case for changing the behavior?
Projects using less in browser need style elements with the type
text/less
to be appended to the DOM.Please mention other relevant information such as your webpack version, Node.js version and Operating System.
This could be a 4 lines change. I believe that replacing:
with
in addStyles.js#L204 and addStyles.js#L215 would do the job.
The text was updated successfully, but these errors were encountered: