Hello dear,
Let me describe again. I try to describe the problem obviously. I have a problem with the js files. I added assets folder in the project that include css, download, fonts, images and js. Then I do “enonic project deploy” command to build the project and when I go in the browser I see js files doesn’t work. When I see the console log, I have a lot of errors. In the following, I will attach a image of the errors in the console log.
I have a solution to solve this problem, but It’s not reasonable because I have to delete the js files after every time “enonic project deploy” from
C:\Users\iran\.enonic\sandboxes\Sandbox1\home\deploy\reactproject.jar
and then I have to copy the js files in the said route again. When I Doing “enonic project deploy” command every time, I have to delete js files and then copy again. You know, because after I doing “enonic project deploy” command every time, the real size of js files will change. For example the real size of “bootstrap.min.js” is 59KB but when I do “enonic project deploy” command it will be 105KB.
Thanks