ModuleNotFound exception throws when deploying css file. I have started to explore Sitecore-Jss and deployed sample app in the sitecore and it works fine. I just added a new css file (test.css) under src/assets folder and refers the same in Layout.js file. Below is the test.css file content.
.tint-gray-light {
background-image: url("../images/gray-light-70.png");
}
From the command prompt, I'm deploying using "jss deploy files" command and I'm getting below error.
My current solution do not have any reference either for Images folder or image file. How to resolve the below error? where is this check happening?
Note: I'm about to develop existing page using sitecore jss and css file has many image references that are no longer referred in the webpage and do not even have images.