Bunkerbewohner / threejs-hex-map

A simple 3D hexagonal terrain map based on three.js
MIT License
109 stars 28 forks source link

Examples do not work when using as an NPM module #6

Open crempp opened 6 years ago

crempp commented 6 years ago

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.

guillaume-alvarez commented 4 years ago

Too bad the project seems to be stale :-(