vite/playground/hmr/css-deps/index.html

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
258 B
HTML
Raw Permalink Normal View History

<div class="css-deps">should be red</div>
<script type="module">
import './main.css'
// Import dep.js so that not only the CSS depends on dep.js, as Vite will do
// a full page reload if the only importers are CSS files.
import './dep.js'
</script>