Skip to content

Instantly share code, notes, and snippets.

@tommcfarlin

tommcfarlin/00-app.js Secret

Created Aug 1, 2016
Embed
What would you like to do?
[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