In project zero, static asset files are located in the distribution directory. If you want to use static assets such as images, fonts, etc., it is recommended that these files be placed in the templates/assets directory. By default, webpack loaders are added for some file types in Project Zero. webpack moves the asset files to the relevant folder at the time of compilation according to these file types. The file types added by default and the directories to which they were moved are listed below.
All image files with png, jpg, jpeg, gif, svg and webp extensions are automatically moved by the webpack to the static_omnishop/img directory. Images used in templates are not automatically moved. For files you want to move, you have to import them in JS or you have to manually copy these files to the static_omnishop/img directory after compilation.
The font files (ttf, eot, woff and woff2) that you use in the project are automatically moved to the static_omnishop/fonts directory by the webpack loader.
Other File Types
File types other than image and font are not automatically copied to the distribution directory. If you want such files to be moved, you need to add the relevant webpack loader to the project.