Skip to content
This repository has been archived by the owner on Apr 21, 2021. It is now read-only.

minor changes to get Threebox to work and build in angular. #65

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

akexinad
Copy link

When using the threebox npm package in angular, you get:

  1. There was a three.js file import missing and that was added.
  2. Warnings regarding filename casings. I refactored the casings accordingly so when you run ng-serve it serves warning-free.
  3. When you run ng-build --prod, you are with an error from terser saying that there is a missing token name ( static ) which is one of the variable names in the object.js file. I renamed this variable to fixed.

…ebox to build in angular apps with optimization and without warnings.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant