swup-1.0.0-alpha1/swup.libraries.yml
swup.libraries.yml
# Local builds (when installed via npm/Composer).
swup.local:
remote: https://swup.js.org/
version: 4.8.2
license:
name: MIT
url: https://github.com/swup/swup/blob/main/LICENSE
gpl-compatible: true
js:
/libraries/swup/dist/Swup.js: { weight: -20 }
swup.local.min:
remote: https://swup.js.org/
version: 4.8.2
license:
name: MIT
url: https://github.com/swup/swup/blob/main/LICENSE
gpl-compatible: true
js:
/libraries/swup/dist/Swup.min.js: { minified: true, weight: -20 }
# CDN builds (unpkg as primary, jsDelivr as alternative).
swup.cdn.esm:
remote: https://unpkg.com/swup@4
version: 4.8.2
license:
name: MIT
url: https://github.com/swup/swup/blob/main/LICENSE
gpl-compatible: true
js:
'//unpkg.com/swup@4?module': { type: external, attributes: { type: module }, weight: -20 }
swup.cdn.umd:
remote: https://unpkg.com/swup@4
version: 4.8.2
license:
name: MIT
url: https://github.com/swup/swup/blob/main/LICENSE
gpl-compatible: true
js:
'//unpkg.com/swup@4': { type: external, attributes: { nomodule: true }, weight: -19 }
# Alternative CDN (jsDelivr).
swup.cdn.jsdelivr.esm:
remote: https://cdn.jsdelivr.net/npm/swup@4
version: 4.8.2
license:
name: MIT
url: https://github.com/swup/swup/blob/main/LICENSE
gpl-compatible: true
js:
'//cdn.jsdelivr.net/npm/swup@4/+esm': { type: external, attributes: { type: module }, weight: -20 }
swup.cdn.jsdelivr.umd:
remote: https://cdn.jsdelivr.net/npm/swup@4
version: 4.8.2
license:
name: MIT
url: https://github.com/swup/swup/blob/main/LICENSE
gpl-compatible: true
js:
'//cdn.jsdelivr.net/npm/swup@4': { type: external, minified: true, weight: -19 }
# Official Plugin libraries (CDN only as plugins follow same pattern).
# Accessibility Plugin
swup.plugin.a11y.cdn:
remote: https://unpkg.com/@swup/a11y-plugin@5
version: 5.0.0
license:
name: MIT
url: https://github.com/swup/a11y-plugin/blob/main/LICENSE
gpl-compatible: true
js:
'//unpkg.com/@swup/a11y-plugin@5': { type: external, weight: -18 }
dependencies:
- swup/swup.cdn.umd
# Body Class Plugin
swup.plugin.body-class.cdn:
remote: https://unpkg.com/@swup/body-class-plugin@3
version: 3.3.0
license:
name: MIT
url: https://github.com/swup/body-class-plugin/blob/main/LICENSE
gpl-compatible: true
js:
'//unpkg.com/@swup/body-class-plugin@3': { type: external, weight: -18 }
dependencies:
- swup/swup.cdn.umd
# Debug Plugin
swup.plugin.debug.cdn:
remote: https://unpkg.com/@swup/debug-plugin@4
version: 4.1.0
license:
name: MIT
url: https://github.com/swup/debug-plugin/blob/main/LICENSE
gpl-compatible: true
js:
'//unpkg.com/@swup/debug-plugin@4': { type: external, weight: -18 }
dependencies:
- swup/swup.cdn.umd
# Forms Plugin
swup.plugin.forms.cdn:
remote: https://unpkg.com/@swup/forms-plugin@3
version: 3.2.0
license:
name: MIT
url: https://github.com/swup/forms-plugin/blob/main/LICENSE
gpl-compatible: true
js:
'//unpkg.com/@swup/forms-plugin@3': { type: external, weight: -18 }
dependencies:
- swup/swup.cdn.umd
# Fragment Plugin
swup.plugin.fragment.cdn:
remote: https://unpkg.com/@swup/fragment-plugin@2
version: 2.0.0
license:
name: MIT
url: https://github.com/swup/fragment-plugin/blob/main/LICENSE
gpl-compatible: true
js:
'//unpkg.com/@swup/fragment-plugin@2': { type: external, weight: -18 }
dependencies:
- swup/swup.cdn.umd
# Head Plugin
swup.plugin.head.cdn:
remote: https://unpkg.com/@swup/head-plugin@2
version: 2.3.0
license:
name: MIT
url: https://github.com/swup/head-plugin/blob/main/LICENSE
gpl-compatible: true
js:
'//unpkg.com/@swup/head-plugin@2': { type: external, weight: -18 }
dependencies:
- swup/swup.cdn.umd
# JS Plugin
swup.plugin.js.cdn:
remote: https://unpkg.com/@swup/js-plugin@3
version: 3.2.0
license:
name: MIT
url: https://github.com/swup/js-plugin/blob/main/LICENSE
gpl-compatible: true
js:
'//unpkg.com/@swup/js-plugin@3': { type: external, weight: -18 }
dependencies:
- swup/swup.cdn.umd
# Parallel Plugin
swup.plugin.parallel.cdn:
remote: https://unpkg.com/@swup/parallel-plugin@2
version: 2.0.0
license:
name: MIT
url: https://github.com/swup/parallel-plugin/blob/main/LICENSE
gpl-compatible: true
js:
'//unpkg.com/@swup/parallel-plugin@2': { type: external, weight: -18 }
dependencies:
- swup/swup.cdn.umd
# Preload Plugin
swup.plugin.preload.cdn:
remote: https://unpkg.com/@swup/preload-plugin@3
version: 3.2.11
license:
name: MIT
url: https://github.com/swup/preload-plugin/blob/main/LICENSE
gpl-compatible: true
js:
'//unpkg.com/@swup/preload-plugin@3': { type: external, weight: -18 }
dependencies:
- swup/swup.cdn.umd
# Progress Bar Plugin
swup.plugin.progress.cdn:
remote: https://unpkg.com/@swup/progress-plugin@3
version: 3.0.0
license:
name: MIT
url: https://github.com/swup/progress-plugin/blob/main/LICENSE
gpl-compatible: true
js:
'//unpkg.com/@swup/progress-plugin@3': { type: external, weight: -18 }
dependencies:
- swup/swup.cdn.umd
# Route Name Plugin
swup.plugin.route-name.cdn:
remote: https://unpkg.com/@swup/route-name-plugin@4
version: 4.0.0
license:
name: MIT
url: https://github.com/swup/route-name-plugin/blob/main/LICENSE
gpl-compatible: true
js:
'//unpkg.com/@swup/route-name-plugin@4': { type: external, weight: -18 }
dependencies:
- swup/swup.cdn.umd
# Scripts Plugin
swup.plugin.scripts.cdn:
remote: https://unpkg.com/@swup/scripts-plugin@2
version: 2.1.0
license:
name: MIT
url: https://github.com/swup/scripts-plugin/blob/main/LICENSE
gpl-compatible: true
js:
'//unpkg.com/@swup/scripts-plugin@2': { type: external, weight: -18 }
dependencies:
- swup/swup.cdn.umd
# Scroll Plugin
swup.plugin.scroll.cdn:
remote: https://unpkg.com/@swup/scroll-plugin@4
version: 4.0.0
license:
name: MIT
url: https://github.com/swup/scroll-plugin/blob/main/LICENSE
gpl-compatible: true
js:
'//unpkg.com/@swup/scroll-plugin@4': { type: external, weight: -18 }
dependencies:
- swup/swup.cdn.umd
# Official Integration libraries.
# GA Plugin
swup.plugin.ga.cdn:
remote: https://unpkg.com/@swup/ga-plugin@2
version: 2.1.0
license:
name: MIT
url: https://github.com/swup/ga-plugin/blob/main/LICENSE
gpl-compatible: true
js:
'//unpkg.com/@swup/ga-plugin@2': { type: external, weight: -18 }
dependencies:
- swup/swup.cdn.umd
# GTM Plugin
swup.plugin.gtm.cdn:
remote: https://unpkg.com/@swup/gtm-plugin@1
version: 1.4.0
license:
name: MIT
url: https://github.com/swup/gtm-plugin/blob/main/LICENSE
gpl-compatible: true
js:
'//unpkg.com/@swup/gtm-plugin@1': { type: external, weight: -18 }
dependencies:
- swup/swup.cdn.umd
# Matomo Plugin
swup.plugin.matomo.cdn:
remote: https://unpkg.com/@swup/matomo-plugin@2
version: 2.0.0
license:
name: MIT
url: https://github.com/swup/matomo-plugin/blob/main/LICENSE
gpl-compatible: true
js:
'//unpkg.com/@swup/matomo-plugin@2': { type: external, weight: -18 }
dependencies:
- swup/swup.cdn.umd
