jsroot: Does not work with bower if path if `bower_components` not in path
We use jsroot through bower (see #120) and unfortunately since our setup involves copying files, minifying, etc. when the browser loads jsroot, the path does not include bower_components/jsroot/scripts. Since our setup doesn’t give easy access to the point where the js file is loaded, it’s difficult to pass it ?bower.
(For now, we can still import it as a standalone library, but it would be nice to use jsroot through a package manager.)
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 18 (10 by maintainers)
Commits related to this issue
- Let also use bower when bower_dir==="" (#120, #122) May happen that HTML page placed in bower top folder. — committed to root-project/jsroot by linev 7 years ago
Now functionality available in latest JSROOT release. You can find info here:
https://github.com/root-project/jsroot/tree/master/demo/gulp