diff options
author | Max Wu | 2016-10-13 22:40:40 +0800 |
---|---|---|
committer | GitHub | 2016-10-13 22:40:40 +0800 |
commit | 71dd51f7b75378f4da7db9c4554bb7a073f86204 (patch) | |
tree | 364104ae0f3a0fdbe438868ee7dff9dd00efb17f /webpackBaseConfig.js | |
parent | af461ac2d6171b6133701ce0817d14f18b4fd4b1 (diff) | |
parent | 2f05e445cca8bf1aa560c7dcce86587297d37d5b (diff) |
Merge pull request #202 from Yukaii/webpack-recovery
Webpack Recovery
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: { |