Skip to content

Removes jQuery Migrate from the list of jQuery dependencies and allows jQuery to enqueue before `</body>` instead of in the `<head>`.

License

Notifications You must be signed in to change notification settings

wearerequired/jquery-light

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jQuery Light

Removes jQuery Migrate from the list of jQuery dependencies and allows jQuery to enqueue before </body> instead of in the <head>.

Installation

The package type is wordpress-muplugin. Example of a composer.json:

{
  "name": "wearerequired/something",
  "description": "required.com",
  "license": "GPL-2.0+",
  "authors": [
    {
      "name": "required gmbh",
      "email": "info@required.ch"
    }
  ],
  "require": {
    "php": ">=5.3",
    "koodimonni/composer-dropin-installer": "dev-master",
    "johnpbloch/wordpress": "~4.9",
    "wearerequired/jquery-light": "^1.0"
  },
  "extra": {
    "wordpress-install-dir": "wordpress/wp",
    "installer-paths": {
      "wordpress/content/plugins/{$name}/": [
        "type:wordpress-plugin"
      ],
      "vendor/{$vendor}/{$name}/": [
        "type:wordpress-muplugin"
      ],
      "wordpress/content/themes/{$name}/": [
        "type:wordpress-theme"
      ]
    },
    "dropin-paths": {
      "wordpress/content/mu-plugins/": [
        "type:wordpress-muplugin"
      ]
    }
  },
  "minimum-stability": "dev",
  "prefer-stable": true
}

About

Removes jQuery Migrate from the list of jQuery dependencies and allows jQuery to enqueue before `</body>` instead of in the `<head>`.

Topics

Resources

License

Stars

Watchers

Forks

Languages