mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-15 00:03:28 +01:00
Add wabac.js as submodule and include sw in static dir
This commit is contained in:
parent
7b0f8b5860
commit
db56fb2df0
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -1,3 +1,6 @@
|
||||
[submodule "wombat"]
|
||||
path = wombat
|
||||
url = https://github.com/webrecorder/wombat
|
||||
[submodule "wabac.js"]
|
||||
path = wabac.js
|
||||
url = https://github.com/webrecorder/wabac.js
|
||||
|
8
build-wabac.sh
Executable file
8
build-wabac.sh
Executable file
@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
CURR_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
|
||||
|
||||
cd $CURR_DIR/wabac.js
|
||||
yarn install
|
||||
yarn run build
|
||||
cp ./dist/sw.js ../pywb/static/wabacWorker.js
|
122
pywb/static/wabacWorker.js
Normal file
122
pywb/static/wabacWorker.js
Normal file
File diff suppressed because one or more lines are too long
1
wabac.js
Submodule
1
wabac.js
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 5b3156c0e14ac3e43fd8a94008000ff2d7e332ad
|
Loading…
x
Reference in New Issue
Block a user