Is there a way to properly include images in a Typescript project?
I attempted to include the files or directory in tsconfig.json, but it didn't seem to work as expected.
"include": [
"src/resources/**/*.png", // <-
"src/**/*.json",
"**/*.ts",
"src/**/*"
]
Despite my efforts, the images in the dist folder are not showing up.
Here is the image showing the desired location for the images directory
I have tried including files individually in tsconfig.json, and even creating a .ts file instead of using the images directory, but none of these methods have been successful.