Purpose
What this automation does
This automation will modify the following file:
frontend/javascript/index.js
It will add the following NPM packages:
Prerequisites
"Bridgetown >= 0.15.0"
bridgetown -v
# => bridgetown 0.17.0 "Mount Scott"
This project requires the apply
command introduced in Bridgetown version
>= 0.15.0
Usage
New project
bridgetown new <newsite> --apply="https://github.com/julianrubisch/bridgetown-automation-lazyload"
Existing Project
cd <bridgetown-site>
[bundle exec] bridgetown apply "https://github.com/julianrubisch/bridgetown-automation-lazyload"
Getting Started
Check out https://github.com/verlok/vanilla-lazyload#-getting-started---script for setup and configuration options.