The solid-file-client 0.5.0 and 0.5.1 do not build in react-solid due to “null” module not found (the pb do not occur in node and can be solved differently with browserify using the ignore param.
There is a work around building
The problem I uncountered is to test the new solid-file-client.bundle.js in react-solid.
I tested :
- require(’./solid-file-client.bundle.js’) and it never succeed compiling with a lot of messages like :
Line 1: Expected an assignment or function call and instead saw an expression no-unused-expressions
- finally I decided to test a npm like way --> putting the new solid-file-client.bundle.js in
The compile succeeded so the package loads successfully in react-solid.
Is it the good way in react-solid to test a package before pushing it to npm ?
Isn’t there a cleaner way to do that ? It seems very tricky.