twbs / twbs/bootstrap-rubygem

Include ESM version?

Open
#273 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
SCSS
Stars
2k
Forks
437
Avg merge
1h
Merged PRs (30d)
1

Description

I would like to load the ESM version of the JS, would it be possible to include it in this gem?
Right now I am using this gem to compile the Sass files but I have to load bootstrap.esm.js from a CDN to use it.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue mentions bootstrap.esm.js and the gem's existing Sass asset usage; start by inspecting how this gem packages and exposes Bootstrap JavaScript assets, then compare the requested ESM file with the linked Bootstrap module guidance. Done means the ESM asset is available through the gem, so consumers no longer need the CDN.

Written by the indexing model from the issue text.

Assessment

Tech stack
bootstrap, javascript
Domain
build-system, frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.