Bug Report: Cleanpublicfolder Js Not Found

Cleanpublicfolder Js Not Found

Hello cleanPublicFolder.js is non-existent. Where should I get that to run the full npm run:prod command?

A

Aldrin

Reported

Hello cleanPublicFolder.js is non-existent. Where should I get that to run the full npm run:prod command?

  • MS

    Mian Saleem

    Answered

    Hello,

    I will check for the file. For now you can create it with these contents

    const rimraf = require('rimraf');
    
    rimraf.sync('./public/js');
    rimraf.sync('./public/mix-manifest.json');
    

    Thank you

  • Login to Reply