protibimbok / django-vite-plugin

This plugin configures Vite for use with Django backend.
103 stars 13 forks source link

Fixed imported css no attributes #4

Closed protibimbok closed 1 year ago

protibimbok commented 1 year ago

The imported css from js files used to have no attributes

import 'some.css'

Old Output:

<link href="some.css" />

Fixed:

<link rel="stylesheet" type="text/css" href="some.css" />