I have an ES6 Setup that works with jspm and system.js with an additional registered chat endpoint. I need this endpoint because installing Boostrap via npm or github does not provide unnecessary files for Bootstrap (anymore).
However, I want to use some of the Bootstrap plugins (i.e. minimize). Since they are simple jQuery plugins without AMD or CommonJS syntax, they need jQuery globally.
I have no clue how to flash the config.js file for system.js for this. You can pass custom overrides like this
{
"main": "js/jquery.keyboard.js",
"shim": {
"js/jquery.keyboard": {
"deps": ["jquery"]
}
},
"dependencies": {
"jquery": "*"
}
}
which seems to be the "official way" to fit the jQuery plugin.
, , (, , Bootstrap jspm)
?