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
I currently have the problem that we use two CSS files:
the first one is for the mobile version and the second one for the desktop version, which uses a media query. Both files get different media queries, so I have to identify them during the development process in Webpack. So I used a very old fork from the StyleLoader, which could pass the name of the CSS file in an attribute to the style tag for identification:
Is there a similar possibility with the current version of the StyleLoader? Currently I abuse the possibility to add a nonce attribute to the style tags.
The text was updated successfully, but these errors were encountered:
Hello,
I currently have the problem that we use two CSS files:
the first one is for the mobile version and the second one for the desktop version, which uses a media query. Both files get different media queries, so I have to identify them during the development process in Webpack. So I used a very old fork from the StyleLoader, which could pass the name of the CSS file in an attribute to the style tag for identification:
options: { attrs: { id: 'id' , 'data-from': '[path][name].[ext]'} }
Is there a similar possibility with the current version of the StyleLoader? Currently I abuse the possibility to add a nonce attribute to the style tags.
The text was updated successfully, but these errors were encountered: