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

The specified initialization vector (IV) does not match the block size for this algorithm