As part of a migration process, I am currently converting code from JavaScript to TypeScript. In one of my files 'abc.ts', I need to import the 'xyz.css' file, which is located in the same directory. However, when I try to import it using the following code:
import '../../xyz.css';
I encounter an error message that reads: relative modules were not found:
'../../../xyz.css' in '../../dist/abc.js'
This error occurs during the webpack compilation process. Can someone please provide a suggestion on how to resolve this issue? Thank you!