midudev / codi.link

HTML, CSS, JS sandbox.

Home Page:https://codi.link

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use css modules

roberthgnz opened this issue · comments

Proposal to use css modules and import them into their respective js file, so that deferred loading could be done.

// Skypack.module.css 

// skypack.js
import 'Skypack.module.css'

// aside.js
await import(....)