creativedotdesign / tofino

WordPress boilerplate theme on a modern stack. NPM and Composer.
Other
29 stars 6 forks source link

Dist file names wrong in assets.php #284

Closed donnietheg closed 3 years ago

donnietheg commented 3 years ago

Now I am getting a warning when I activate Tofino:

Warning: filemtime(): stat failed for C:\Users\User\Local Sites\medrie-macphee-artsite-20\app\public/wp-content/themes/medrie-macphee-artsite/dist/js/main.js in C:\Users\User\Local Sites\medrie-macphee-artsite-20\app\public\wp-content\themes\medrie-macphee-artsite\src\lib\assets.php on line 120

There is the same warning for /js/head.js and css/main.css

The path is right but seems like the names of these files have changed

file name in code ==> file name in dist/js or /css

main.js ==> now scrips.js

was head.js ===> head-scripts.

main.css === > styles.css

danimalweb commented 3 years ago

@donnietheg Do you remember which version of Tofino this is happening in? Thanks.

donnietheg commented 3 years ago

Hi Daniel. I don't recall, but I'll look into it tomorrow to see if I can trace it back.

On 3/10/2021 7:56 PM, Daniel Hewes wrote:

@donnietheg https://github.com/donnietheg Do you remember which version of Tofino this is happening in? Thanks.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/creativedotdesign/tofino/issues/284#issuecomment-796336367, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACHOBAJMGCP5PGYNS2KBP3TDABLZANCNFSM4TKHL5TQ.

danimalweb commented 3 years ago

Unable to reproduce this.