mapbox / mapbox-gl-rtl-text

Add right-to-left text support to Mapbox GL JS
Other
53 stars 20 forks source link

Stop using Closure #8

Closed ChrisLoer closed 6 years ago

ChrisLoer commented 6 years ago

Closure reduces minified size by about 15KB, mainly by stripping unused code from the emscripten runtime.

However, enabling Closure requires using 'eval' in the runtime, preventing mapbox-gl-rtl-text being used when 'unsafe-eval' isn't allowed (see https://github.com/kripken/emscripten/issues/2209).

/cc @anandthakker

anandthakker commented 6 years ago

👍