Closed mathishuettl closed 5 years ago
You can do that in a JS file and it should work. Otherwise, just eject.
i ejected, but since i did that arrow-functions doesnt work anymore..
You can do that in a JS file and it should work. Otherwise, just eject.
@ahmadawais I can't import images on a clean project using import './img.png
. Do I need anything else? I don't see a webpack config file to set up a loader.
You can do that in a JS file and it should work. Otherwise, just eject.
@ahmadawais I can't import images on a clean project using
import './img.png
. Do I need anything else? I don't see a webpack config file to set up a loader.
I'm also facing this problem.
Hello,
how can i correctly add file-loader? I cant find a webpack.conf or something when i hit npx create-guten-block.
My aim is to import a png file with import myfile from "./images/test.png"