waylonflinn/weblas

lib/test.js should not be part of main package

Closed this issue · 3 comments

Importing weblas from npm package gives the following error, as arrayloader is a devDependency:

ERROR in ./~/weblas/lib/test.js
Module not found: Error: Can't resolve 'arrayloader' in node_modules/weblas/lib'
 @ ./~/weblas/lib/test.js 2:10-32
 @ ./~/weblas/index.js
 @ ./src/Tensor.js
 @ ./src/index.js
 @ multi main

Thanks Leon.

This should already be fixed in master (though the commit message doesn't mention it). I'm publishing a new version to npm right now.

Can I close this?

All good, thanks!