As of now, we only support the quick-usage scenario via ready-to-use CSS and JS bundles.
Expert Mode
Aside from that, we also want to support the "expert" scenario for those who want to have more control over what is bundled into their app. This means:
loading common Sass source files directly (everything except components),
loading JS components as modules that take their Sass styles with them.
As of now, we only support the quick-usage scenario via ready-to-use CSS and JS bundles.
Expert Mode
Aside from that, we also want to support the "expert" scenario for those who want to have more control over what is bundled into their app. This means:
👉 Add the "module" directive to our
package.json
to make the ESM way easier: https://antfu.me/posts/publish-esm-and-cjsCaveats
⚠️ Beware of Sass imports we currently have in our
src/index.js
:⚠️ Do not break current CSS and JS bundles.