Delete script from autoload generating an error

Hi,

I add a script in the “autoload” folder to test. After my test, it does not suit me anymore, I decided to delete the .js file from the “autoload” folder.

And there, I have an error in my compilation

"This relative module was not found:

  • ./autoload/outdatedbrowser.js in ./resources/assets/scripts/main.js "

How can I stop this error from appearing? The file no longer exists and it is not called anywhere.

Thank you !

Hey @Jimmylet - maybe try deleting your dist folder and rerunning yarn build?

This topic was automatically closed after 42 days. New replies are no longer allowed.