Skip to content

Instantly share code, notes, and snippets.

@tommcfarlin
Created August 1, 2016 11:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tommcfarlin/073ec2f6ffded3e61a278e735ca17131 to your computer and use it in GitHub Desktop.
Save tommcfarlin/073ec2f6ffded3e61a278e735ca17131 to your computer and use it in GitHub Desktop.
[WordPress] How To Concatenate JavaScript Files with CodeKit
// @codekit-prepend "import-file.js"
// @codekit-append "directory-page.js"
// @codekit-append "event-settings.js"
// @codekit-append "user-settings.js"
<?php
wp_enqueue_style(
'acme-app',
plugins_url( 'js/app.min.js', __FILE__ ),
array( 'jquery' ),
$this->version,
false
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment