diff --git a/webpack.config.js b/webpack.config.js index f5d6b71577..f8152574ba 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -43,7 +43,12 @@ module.exports = { }, externals: { d3: 'd3', - hammerjs: 'Hammer' + hammerjs: { + root: 'Hammer', + commonjs: 'hammerjs', + commonjs2: 'hammerjs', + amd: 'hammerjs' + } }, plugins: [ define_plugin,