gatsbyjs serving up assets


Assets like javascript or css files are served up from static directory. You do not have to specify it.

For example,  if you place your javascript file in "static/js/worker.js", then you only need to specify it as '/js/worker.js' in your react components.

----static
   ----js
     --- worker.js

Well it can takes a couple of minutes to figure this out.





Comments

Popular posts from this blog

vllm : Failed to infer device type

android studio kotlin source is null error

gemini cli getting file not defined error