riot-bootstrap
riot-bootstrap copied to clipboard
Selective Imports
I installed riot-bootstrap
with npm. I'm bundling my app with webpack. In my index.js
file I import riot-bootstrap
like so:
import 'riot-bootstrap'
This pulls all riot-bootstrap
tags in the generated bundle, even if I only actually use, say <btn>
. Is there a way to import only the tags I'll actually be using? Or maybe exclude some tags I won't need?