hazelbag's avatar

Using Laravel Sprite Images

I bought a custom theme and started porting it into Laravel, though the CSS files are huge we decided to compile the style sheets with mix as per mix.sass('XXXXX', 'XXXX');

But with the sprite sheets/images the produces an error when compiling

[webpack-cli] Error: Prevent writing to file that only differs in casing or query string from already written file. This will lead to a race-condition and corrupted files on case-insensitive file systems. /Users/username/workspace/project/public/images/sprite.png /Users/username/workspace/project/public/images/sprite.png at checkSimilarFile (/Users/username/workspace/project/node_modules/webpack/lib/Compiler.js:597:22) at writeOut (/Users/username/workspace/project/node_modules/webpack/lib/Compiler.js:772:11) at /Users/username/workspace/project/node_modules/webpack/lib/util/fs.js:182:5 at FSReqCallback.oncomplete (node:fs:184:23)

Is there someone who is able to explain or possibly guide me in the right direction to be able to resolve this?

0 likes
1 reply

Please or to participate in this conversation.