Closed agustinhopneto closed 4 years ago
@agustinhopneto Currently we did not implement the url-loader
for images inside Babel, you can just yarn add url-loader
and put this inside the rules
array inside webpack/react.webpack.js
:
{
test: /\.(png|jpg|gif)$/i,
use: [
{
loader: 'url-loader',
options: {
limit: 8192,
},
},
],
},
Thank you!
Hello! I have this problem when I try to import a image:
And it returns:
Am I doing something wrong?