Skip to content

A repo to show an example of the import glitch with webpack, rbush-knn and tinyqueue

Notifications You must be signed in to change notification settings

sfreytag/rbushknn-testing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Clone the repo then install node_modules:

npm install

Run the webpack build:

npm run build

Serve it on localhost:

npm run serve

The webpage should print out some console output, ideally the results of the search, but more likely the Queue is not a constructor error.

There's also a script to run the same code via CommonJS modules using Node:

npm run commontest

This will complete OK and print out the expected console output.

About

A repo to show an example of the import glitch with webpack, rbush-knn and tinyqueue

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published