Skip to content

Commit 0e9a022

Browse files
committed
Replace bootstrap js with bootstrap.native
Note that we must use a tilde in package.json to prevent it upgrading to v4.2.0, which dropped support for bootstrap 4
1 parent 6c43aea commit 0e9a022

File tree

4 files changed

+51
-86
lines changed

4 files changed

+51
-86
lines changed

package-lock.json

+48-52
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"parcel": "^2.8.3"
1616
},
1717
"dependencies": {
18-
"bootstrap": "^4.3.1",
18+
"bootstrap.native": "~4.1.0",
1919
"jquery-deparam": "^0.5.3",
2020
"lodash": "^4.17.11"
2121
}

scripts/dist/index.js

+1-32
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scripts/src/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* global settings */
22
import deparam from 'jquery-deparam'
3-
import 'bootstrap/js/dist/collapse'
3+
import 'bootstrap.native/dist/bootstrap-native-v4'
44

55
import DatasetsList from './components/datasets-list'
66
import CategoriesFilter from './components/categories-filter'

0 commit comments

Comments
 (0)