This ACF field searches {theme_url}/assets/build/js/selectable
for Javascript files. You can then select those files to be used in that specific page.
This should prevent the need to bundle all custom JS in a globally included file like main.js.
Javascript loader ACF field
This ACF field searches {theme_url}/assets/build/js/selectable
for Javascript files. You can then select those files to be used in that specific page.
This should prevent the need to bundle all custom JS in a globally included file like main.js.
Javascript loader ACF field