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

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

No files matched your search

+1 -1
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 {
+1 -1
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';