How to add custom developed JavaScript lib. to mendix pluggable widget (react based)

I want to add custom developed JavaScript lib which have custom html tags and supported css files. it is possible to add it in plain react application by adding it in index.html but how to add it in mendix pluggable widget (react based) which don’t have index.html . I tried to add it in one of the react componant like (import  "./as-lib/my-custom-lib/my-custom-lib";)  but its not working. please suggest solution to add this lib into  mendix pluggable widget (react based)
0 answers