tensorspace-team / tensorspace

Neural network 3D visualization framework, build interactive and intuitive model in browsers, support pre-trained deep learning models from TensorFlow, Keras, TensorFlow.js
https://tensorspace.org
Apache License 2.0
5.06k stars 445 forks source link

Build CommonJS module #200

Closed BoTime closed 5 years ago

BoTime commented 5 years ago

Action: Remove branch after merging.

  1. Build CommonJS module for Tensorspace.

rollup.config.js and rollup.config.npm.js share default configurations exported from rollup.default.config.js

npm run build generates 4 files:

npm run build-npm generates 3 files:

  1. Updated dependencies

stats.js is replaced by stats-js uglify-es module is replaced by terser.js eslint-config-mdcs is added for Mrdoob-style Javascript coding