menpo / landmarker.io

Image and mesh annotation web application
https://www.landmarker.io
BSD 3-Clause "New" or "Revised" License
114 stars 21 forks source link

fix publicPath so it works for dev/prod builds #124

Closed jabooth closed 8 years ago

jabooth commented 8 years ago

It seems webpack-dev-server doesn't work well with relative paths. We want to use a relative path on deploy so staging/ builds work. This changes our webpack config to use relative paths in our builds, but absolute for dev builds.