Closed kylereicks closed 8 years ago
@kylereicks 1 test isn't passing. I don't believe this is your fault, but it'd be great if we fixed the issue.
Also, you're only requiring your js/_component.js
file in the theme. This will cause issues for plugins/child-themes/libraries.
We are considering ES6 for v1. We'll be doing this through WebPack (or something similar). Since this is against the master branch (vs develop) we'll be closing this PR.
cc @lkwdwrd @allenmoore
This pull request includes contributions and consultation from @mrbobbybryant, @Faison, @ivankruchkoff, and @fuhton.
We think we've landed on some good defaults as a starting place. A few items that were still in open discussion:
init
and then enqueue global scripts onwp_enqueue_scripts
. This isn't strictly necessary for the es6 update, but it makes scripts available to wp_localize_script, wp_script_add_data, and wp_add_inline_script before they are printed in the head.@lkwdwrd We also have a draft of a description of the directory structure changes here