diff options
Diffstat (limited to 'webpackBaseConfig.js')
-rw-r--r-- | webpackBaseConfig.js | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/webpackBaseConfig.js b/webpackBaseConfig.js index e38213b3..7648cd8f 100644 --- a/webpackBaseConfig.js +++ b/webpackBaseConfig.js @@ -12,7 +12,9 @@ module.exports = { key: "keymaster", $: "jquery", jQuery: "jquery", - "window.jQuery": "jquery" + "window.jQuery": "jquery", + "moment": "moment", + "Handlebars": "handlebars" }), new ExtractTextPlugin("[name].css"), new webpack.optimize.CommonsChunkPlugin({ @@ -78,12 +80,7 @@ module.exports = { slide: path.join(__dirname, 'public/js/slide.js'), locale: path.join(__dirname, 'public/js/locale.js'), vendor: [ - "jquery-mousewheel", - "jquery-scrollspy/jquery-scrollspy", - "jquery-ui/ui/widgets/resizable", - "jquery-ui/ui/widgets/tooltip", - "jquery-ui/ui/widgets/controlgroup", - "jquery-ui/ui/widgets/autocomplete", + "imports?$=jquery!jquery-mousewheel", "script!gist-embed", "expose?filterXSS!xss", "js-url", @@ -130,7 +127,9 @@ module.exports = { "viz.js": "Viz", "socket.io-client": "io", "lodash": "_", - "jquery": "$" + "jquery": "$", + "moment": "moment", + "handlebars": "Handlebars" }, module: { |