matestack / matestack-ui-bootstrap

As an extension for Matestack Ui Core, Matestack Ui Bootstrap ships all you need to build beautiful, reactive UIs in pure Ruby and smart CRUD components based on Bootstrap v5. Don't think about styling anymore and just create admin or application UIs faster than ever before!
https://docs.matestack.io/matestack-ui-bootstrap
MIT License
11 stars 4 forks source link

Add Webpacker configuration to avoid using ESM packages on Dummy app #31

Closed aaron-contreras closed 1 year ago

aaron-contreras commented 1 year ago

Issue 30 https://github.com/matestack/matestack-ui-bootstrap/issues/30: Gem's stylesheets not loaded by Dummy app

Changes

As stated in the installation docs for matestack-ui-bootstrap, we need to have webpacker not use the ESM package and let it know which directories to build from (in this case, from the gem's own index.js export).