New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix JS path with excedent slash #3280
base: master
Are you sure you want to change the base?
Conversation
@mrleblanc101 I don't understand why this is necessary. Can you provide a reproduction webpack.mix.js file, what the output is, and what you expect it to be? |
Did you look at the linked issue ? If it's still not clear, I'll gladly open a repo |
I did but I'm still a little confused. |
Here is the repo: https://github.com/mrleblanc101/repro-laravel-mix-1717 First, as you can see, the terminal show that the JS has a leading slash but not the CSS. I'm using this with I was able to
will output
or
will output:
I'm pretty sure from my digging that it's not an issue with |
I tried to update the test but I was not able to run |
@thecrypticace I see you approved the workflow run. Thanks ! |
Yeah I wanted to get an idea of what changed. This affects the manifest so I need to test this in a proper Laravel project first before I update the test suite. I won't have time today or tomorrow to look at this but I will try to get to it this week. |
Oh wait no nvm I read the tests wrong. It's just the internal webpack entry that's affected (and things using stats) so yeah updating the tests should be fine. I'll update the snapshots. |
Fix #1717