I put all my images in a folder at the root of my project and I'm using them in the code that I write.Howether there seems to be an error (ex : Cannot find module '../../../assets/Structure.png' or its corresponding type declarations
because of:import structure from "../../../assets/Structure.png";
). It still work when I do my yarn start
but it seems to be a potential issue. Any idea of how to make it work without error? The issue seems to be with the '../'.My project is like this :
src --> pages --> page1 --> index.tsx
assets --> image.png