Skip to content

Commit 3185faf

Browse files
New build
1 parent 467f4c5 commit 3185faf

File tree

7 files changed

+12
-8
lines changed

7 files changed

+12
-8
lines changed

.dev/Taskfile.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,9 @@ tasks:
142142
- |
143143
docker run --user {{.MY_UID}}:{{.MY_GID}} \
144144
--rm \
145-
-w /app \
146-
-v $(pwd)/../docs:/app \
145+
-w /app/docs \
146+
-v $(pwd)/../docs:/app/docs \
147+
-v $(pwd)/../lib:/app/lib \
147148
$NODE_IMAGE /bin/bash -c "yarn build"
148149
149150
# TESTS

docs/index.html

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,10 @@
4343
}
4444

4545
@keyframes foo {
46-
to {
46+
0% {
47+
translate: -30px 0 0;
48+
}
49+
100% {
4750
translate: calc(100vw - 50px) 0 0;
4851
}
4952
}
@@ -278,7 +281,7 @@ <h1>10. Using driver hooks to animate custom element</h1>
278281
</div>
279282

280283
<!-- <div class="start" style="top: 100vh"></div>
281-
<div class="end" style="top: 200vh"></div>
284+
<div class="end" style="top: 300vh"></div>
282285
<div class="foo"></div>
283286
284287
<script type="module" src="/src/main.ts"></script> -->

docs/src/main.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ const f = new TheSupersonicPlugin({
1616
},
1717
},
1818
},
19+
debug: true,
1920
})
2021

2122
console.log(f)

docs/vite.config.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { URL, fileURLToPath } from 'node:url'
21
import { resolve } from 'node:path'
32

43
import { defineConfig } from 'vite'

lib/dist/the-supersonic-plugin-for-scroll-based-animation.iife.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)