threejs-hex-map icon indicating copy to clipboard operation
threejs-hex-map copied to clipboard

Examples do not work when using as an NPM module

Open crempp opened this issue 7 years ago • 1 comments

Issue description

When using threejs-hex-map as an NPM module https://www.npmjs.com/package/threejs-hex-map there are exports missing which are required by the examples.

Steps to reproduce the issue

  1. Create a new project
  2. Install threejs-hex-map as an NPM module
  3. Copy the examples to the new project and build (I'm using Webpack and Babel)

What's the expected result?

The examples should build correctly.

What's the actual result?

The examples fail to build due to missing exports.

Additional details / screenshot

All required function and interfaces should be added to index.ts.

crempp avatar Dec 21 '17 07:12 crempp

Too bad the project seems to be stale :-(

guillaume-alvarez avatar Apr 24 '20 11:04 guillaume-alvarez