forked from gitbrent/bootstrap4-toggle
-
-
Notifications
You must be signed in to change notification settings - Fork 8
Missing exports #328
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't working
Milestone
Description
Activity
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Projects
- StatusShow more project fieldsClosed
Error Description
On 5.3.0, I was able to import this library with
import 'bootstrap5-toggle/js/bootstrap5-toggle.ecmas.js'in a JavaScript module, and@import 'bootstrap5-toggle/css/bootstrap5-toggle.css'in a Sass file. Those imports no longer function on 5.3.1+ due to theexportsdefined in thepackage.json, which block the import of any entry points not defined there:I can change the JavaScript module import to
import 'bootstrap5-toggle'but I can't see how to import the CSS.Steps to Reproduce
See above.
Expected Behavior
See above.
Actual Behavior
See above.
Severity
Severe
Bootstrap 5 Toggle Version
5.3.3
Bootstrap version
5.3.8
Other
No response
Bug Report Checklist