generator-plugin-wp JS Subgenerator
November 15, 2016 ยท View on GitHub
yo plugin-wp:js
Initializes javascript for your plugin, including configuring the Gruntfile.js with the proper tasks.
The sub-generator prompts for type of javscript setup; Browserify, Concatination, or just Uglification.
You will need to manually enqueue the javascript.