fix: modify rbush package import

This commit is contained in:
Haász Sándor
2020-08-25 13:27:48 +02:00
parent bf455bc348
commit 02e0b1af11
2 changed files with 2 additions and 2 deletions

View File

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

View File

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