I have forked the vuejs-datepicker project on Github (because of a bug in the project, but that is irrelevant in this matter). The changes I make to this forked project does not reflect in the end result in the browser, in my project that are using this dependency.
Here´s what I do:
npm update, and afterwards I verify that the changes can be seen in the relevant file/files in the node_modules\vuejs-datepicker foldernpm run serve and my main project loads. The changes I´ve made is not reflecting in the browserFile in node_modules folder:

The compiled file in Chrome (I can verify that this is the running code with a breakpoint):

Package.json:

I´ve tried clearing the npm cache with npm cache clean, removing the project reference from package.json and reference it again, bumping the version, but it seems like it is using some cache from the first time I used this forked project which I can´t seem to locate. I´ve also tried clearing the dist folder and my browser´s cache which had no effect, but I guess webpack is making sure this is not an issue.
Am I missing anything here?
Try the following commands to reset node_modules
rm -rf node_modules package-lock.json
npm install
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With