Commit graph

14 commits

Author SHA1 Message Date
Alex Gleason
dd97a46a03
Update code to deal with new paths under src 2023-09-18 16:37:15 -05:00
Alex Gleason
7df9a91e37
Change app/ to src/ in configuration files etc 2023-09-18 16:07:02 -05:00
Alex Gleason
07726bf25c
Rename static --> dist, build-production --> build, output .zip with subdir 2023-09-18 11:27:19 -05:00
Alex Gleason
afaac6eed2
vitest: add setup file, use @testing-library/jest-dom 2023-09-16 15:16:35 -05:00
Alex Gleason
26debebd9e
Emit a report.html bundle analysis
Fixes https://gitlab.com/soapbox-pub/soapbox/-/issues/1517
2023-09-15 23:05:58 -05:00
Alex Gleason
49f8b1e55e
vite: don't strip comments from index.html, restore server-generated-meta 2023-09-15 22:38:29 -05:00
Alex Gleason
f8392d22d3
vitest: put cache properly in node_modules 2023-09-15 17:19:13 -05:00
Alex Gleason
da2f942563
Add vitest, make some tests actually kind of work! 2023-09-15 16:24:01 -05:00
Alex Gleason
dcad4bb4f7
Build the ServiceWorker with Vite 2023-09-15 14:37:09 -05:00
Alex Gleason
e6d9be15de
vite: reorganize output directory 2023-09-14 20:40:20 -05:00
Alex Gleason
f0e5aaded4
vite: disable inline assets so CSP will pass 2023-09-14 20:38:56 -05:00
Alex Gleason
6e5520ce17
Add back Babel 2023-09-13 16:38:46 -05:00
Alex Gleason
b32de7dab0
vite: serve on port 3036 2023-09-13 12:24:49 -05:00
Alex Gleason
2acab99e5b
Make Vite devserver work 2023-09-13 12:04:17 -05:00