Skip to content

Commit

Permalink
Merge pull request #789 from OpenGeoscience/hammerjs2
Browse files Browse the repository at this point in the history
Improve Javascript error logging when Hammer.js lookup fails
  • Loading branch information
brianhelba authored Mar 2, 2018
2 parents 675fa21 + 92aa874 commit 114a93c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,10 @@ module.exports = {
root: 'Hammer',
commonjs: 'hammerjs',
commonjs2: 'hammerjs',
amd: 'hammerjs'
amd: 'hammerjs',
// Since GeoJS's libraryTarget is "umd", defining this (undocumented) external library type
// will allow Webpack to create a better error message if a "hammerjs" import fails
umd: 'hammerjs'
}
},
plugins: [
Expand Down

0 comments on commit 114a93c

Please sign in to comment.