K
K
kirillleogky2019-12-04 10:27:00
css
kirillleogky, 2019-12-04 10:27:00

What is the correct path in the webpack config and in css to write?

Please tell me about writing the paths to the file
. I connected the file-loader and I need them to be saved to the img folder and then taken from the same folder.
What is the correct path in the webpack config and in css to write?
my webpack config
5de75f8922dbd100537048.png
my css
5de75fa1cc3c6820699450.png
project structure
5de75fb5d012b618570953.png
What is the correct path in webpack config and css to write?
as written above the path does not work

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ice, 2019-12-04
@IceRD

The path must be relative to the included file.
It's better to use the full path, connect via alias
How to change the initial path from the project root?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question