mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
Use mapbox-gl-draw/dist for IE11 support (#36505)
This package publishes it's transpiled code in a dist directory without updating the package.json's main to point to this file. Since we do not transpile node modules we are updating the require statement to explicitly point to this file. Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
This commit is contained in:
parent
8c649d96a3
commit
54f53d1348
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ import {
|
|||
ZOOM_PRECISION
|
||||
} from '../../../../common/constants';
|
||||
import mapboxgl from 'mapbox-gl';
|
||||
import MapboxDraw from '@mapbox/mapbox-gl-draw';
|
||||
import MapboxDraw from '@mapbox/mapbox-gl-draw/dist/mapbox-gl-draw-unminified';
|
||||
import DrawRectangle from 'mapbox-gl-draw-rectangle-mode';
|
||||
import { FeatureTooltip } from '../feature_tooltip';
|
||||
import { DRAW_TYPE } from '../../../actions/store_actions';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue