BeTomorrow / ReImproveJS

A framework using TensorFlow.js for Deep Reinforcement Learning
MIT License
122 stars 16 forks source link

Fix issue with import of reimprovejs #8

Closed jbillmann closed 6 years ago

jbillmann commented 6 years ago

If using ReImproveJS via npm the following will fail:

import reimprove from 'reimprovejs';

This is because the package.json points to a file in the /dist that does not exist.

Absent a change, you have to do the following:

import reimprove from 'reimprovejs/dist/reimprove.js';