mirror of
https://github.com/leporello-js/leporello-js
synced 2026-01-13 13:04:30 -08:00
7 lines
177 B
Bash
Executable File
7 lines
177 B
Bash
Executable File
PRELOADS=""
|
|
for f in `find src -name '*.js'`; do
|
|
PRELOADS=$PRELOADS"<link rel='modulepreload' href='/$f'>"
|
|
done
|
|
|
|
sed -i.bak "s#.*PRELOADS_PLACEHOLDER.*#$PRELOADS#" index.html
|