Minimal required package
kla-ko opened this issue · comments
Hi
I very much like the react advanced cropper. Got it working quickly.
I'm struggling with the required packaging. I used npm install
to fetch everything. Then I found out by trial and error which packages are required to put onto my web server. From the node_modules
folder, I've used react-advanced-cropper/dist
and also the folders classnames
and tslib
. This works, but probably not all files are really required to get cropper running.
Is there a packaging which bundles all resources which are minimally required?
Thanks
@kla-ko, hello!
It's strange that you need to put the dependencies on your web server by yourself. Why? In any case, there are three dependencies: advanced-cropper, classnames, tslib.
I assume you missing advanced-cropper
.
Well, npm install --omit=dev
fetches all dependencies. I found a dist
folder below react-advanced-cropper
and I was hoping to find in there all I need. Anyway, I got it running. I'm just afraid to have more artifacts than I really need to run it.
Regards,
I found a dist folder below react-advanced-cropper and I was hoping to find in there all I need.
No you won't. The dependencies will be in node_modules
.
Try to execute npm install react-advanced-cropper
in an empty folder, and then open node_modules
.
Alright. Thanks