Merge pull request #11474 from haasz/haasz-module-import-fix

fix: modify rbush package import
This commit is contained in:
Andreas Hocevar
2020-08-25 14:12:35 +02:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -2,7 +2,7 @@
* @module ol/render/canvas/Executor
*/
import CanvasInstruction from './Instruction.js';
import RBush from 'rbush/rbush.js';
import RBush from 'rbush';
import {TEXT_ALIGN} from './TextBuilder.js';
import {WORKER_OFFSCREEN_CANVAS} from '../../has.js';
import {

View File

@@ -1,7 +1,7 @@
/**
* @module ol/structs/RBush
*/
import RBush_ from 'rbush/rbush.js';
import RBush_ from 'rbush';
import {createOrUpdate, equals} from '../extent.js';
import {getUid} from '../util.js';
import {isEmpty} from '../obj.js';