Yarn build:production shows error with images

Greetings! I have strange problem with yarn build:production. Yarn start and yarn build works fine, but when i try to build:production it shows error on every image added through scss "Module build failed: ModuleNotFoundError: Module not found: Error: Can’t resolve ‘./images/bg/choice-bg.jpg’ "

Please provide the code for the styles responsible for referencing the images

If you aren’t following this, you’re going to have problems: https://roots.io/sage/docs/theme-development-and-building/#images-in-css

ooo, images path should start with ‘…/’
Now everything is ok, thank you very much!