chore(build): switch to bootstrap 4 alpha 4

fix #270
This commit is contained in:
tibing 2016-10-17 18:05:17 +03:00
parent 7b1c4cc5ea
commit 0beef0b8a9
15 changed files with 82 additions and 48 deletions

View file

@ -318,8 +318,26 @@ module.exports = function (options) {
*/
new HtmlElementsPlugin({
headTags: require('./head-config.common')
})
}),
new webpack.ProvidePlugin({
$: "jquery",
jQuery: "jquery",
"window.jQuery": "jquery",
Tether: "tether",
"window.Tether": "tether",
Tooltip: "exports?Tooltip!bootstrap/js/dist/tooltip",
Alert: "exports?Alert!bootstrap/js/dist/alert",
Button: "exports?Button!bootstrap/js/dist/button",
Carousel: "exports?Carousel!bootstrap/js/dist/carousel",
Collapse: "exports?Collapse!bootstrap/js/dist/collapse",
Dropdown: "exports?Dropdown!bootstrap/js/dist/dropdown",
Modal: "exports?Modal!bootstrap/js/dist/modal",
Popover: "exports?Popover!bootstrap/js/dist/popover",
Scrollspy: "exports?Scrollspy!bootstrap/js/dist/scrollspy",
Tab: "exports?Tab!bootstrap/js/dist/tab",
Util: "exports?Util!bootstrap/js/dist/util"
})
],
/*