riot-bootstrap icon indicating copy to clipboard operation
riot-bootstrap copied to clipboard

Selective Imports

Open cuu508 opened this issue 8 years ago • 2 comments

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?

cuu508 avatar May 23 '16 16:05 cuu508