react-boilerplate + react-map-gl incompatibility example
-
Investigate the commit history to see what was added on top of a clean boilerplate.
Sources for these steps:
https://github.com/mapbox/mapbox-gl-js/blob/master/webpack.config.example.js
visgl/react-map-gl#21 (comment) -
Clone
npm start
- See this (the map is empty + errors in console):
npm build
- Open the contents of
/build/
on some virtual host and see this (the map is being rendered):