webpack implementation

This commit is contained in:
Patrick Vézina
2016-03-13 17:08:30 -04:00
parent 610c46b3b1
commit 7d1baa0fe7
15 changed files with 319 additions and 445 deletions

View File

@@ -12,5 +12,5 @@ add_action('customize_register', function (\WP_Customize_Manager $wp_customize)
* Customizer JS
*/
add_action('customize_preview_init', function () {
wp_enqueue_script('sage/customizer.js', asset_path('scripts/customizer.js'), ['customize-preview'], null, true);
wp_enqueue_script('sage/customizer.js', asset_path('customizer.js'), ['customize-preview'], null, true);
});