Answer the question
In order to leave comments, you need to log in
How to add svg loader to webpack?
Hello. Can you tell me how to add a loader for images and fonts to webpack? And it seems like I started using "Webpack Frontend Starterkit", but I can't add a picture to the page, because there is no loader. Began to google off. dock, try to connect it, but something to no avail. You can take a look, I uploaded what I got to github.
Webpack refuses to see images at all
https://github.com/ilyaphilin/Shophia
Answer the question
In order to leave comments, you need to log in
const STAGES = {
2: 'itemGv',
5: 'itemTm',
};
for (const [ key, val ] of Object.entries(items)) {
const s = STAGES[val.stage];
if (s) {
this.client.srem('items', key);
this.emit(s, val);
}
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question