Code Splitting with wordpress/scripts
-
I am developing a site and I have come to a place where certain js file should only be loaded for certain pages. For example, I want some js files to only run in the dashboard. Currently all my js files get complied into one. Is there a writeup that shows how to code split while using the wordpress/scripts library? Or maybe do you know how to codesplit js files through wordpress/scripts? Thanks for your time.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Code Splitting with wordpress/scripts’ is closed to new replies.