Closed ziqq closed 5 years ago
Are you able to provide a minimal repository with code that reproduces this error for me?
Are you able to provide a minimal repository with code that reproduces this error for me?
This problem appears only in production when i use mix.version()
I found one of the solutions. We have to add this options
output: { chunk: { keep: true } },
Looking at the provided example and the fix you've found out about this makes sense. Laravel Mix seems to be doing something with the chunk (the generated .js file, which is mostly empty) after the files are emitted and this is exactly what the output.chunk.keep
option is there for.
Error: ENOENT: no such file or directory, open 'xyz\spritemap.js'