Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

fix for [email protected] #1056

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions package-overrides/github/twbs/[email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"main": "js/bootstrap",
"files": null,
"ignore": [
"dist/js/npm"
],
"directories": {
"lib": "dist"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In previous overrides for bootstrap the SASS files were included, for those who work directly with the source, for example by overriding bootstrap mixins.

To preserve this use case it would be best to remove the "directories" property and instead qualify "main" with dist/.

},
"shim": {
"js/bootstrap": {
"deps": [
"jquery",
"popper.js"
],
"exports": "$"
}
},
"dependencies": {},
"peerDependencies": {
"jquery": "*",
"popper.js": "npm:popper.js@^1.11.1"
}
}
1 change: 1 addition & 0 deletions registry.json
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,7 @@
"pixi-tiledmap": "npm:pixi-tiledmap",
"pixi.js": "npm:pixi.js",
"poly": "github:cujojs/poly",
"popper.js": "npm:popper.js",
"postal": "npm:postal",
"pouchdb": "github:pouchdb/pouchdb",
"pretender": "npm:pretender",
Expand Down