Skip to content

Commit

Permalink
Merge pull request #787 from OpenGeoscience/hammerjs
Browse files Browse the repository at this point in the history
Allow Hammer.js to exist as an npm-installed package
  • Loading branch information
manthey authored Mar 1, 2018
2 parents 43f211c + 9aff029 commit 4617718
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,12 @@ module.exports = {
},
externals: {
d3: 'd3',
hammerjs: 'Hammer'
hammerjs: {
root: 'Hammer',
commonjs: 'hammerjs',
commonjs2: 'hammerjs',
amd: 'hammerjs'
}
},
plugins: [
define_plugin,
Expand Down

0 comments on commit 4617718

Please sign in to comment.