10up / plugin-scaffold

DEPRECATED. Use https://github.com/10up/wp-scaffold

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Missing path constant

colis opened this issue · comments

Hi,

I noticed that in a recent commit (Port Webpack to the plugin) the path returned by the script_url() function in the core.php file is missing the TENUP_SCAFFOLD_URL prefix, which will prevent the scripts from being loaded.

return "dist/js/${script}.js";

Addind back the TENUP_SCAFFOLD_URL prefix fixed the issue. I hope this could be helpful and that I didn't miss anything in the webpack config.

this has been fixed, closing out