Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace Gulp with Vite+Rollup #222

Open
wants to merge 62 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
6e95972
install vite
alexwybraniec Nov 18, 2024
88dc2c9
add in vite-plugin-static-copy
alexwybraniec Nov 18, 2024
38f506e
vite config
alexwybraniec Nov 18, 2024
d1d5400
vite entry point
alexwybraniec Nov 18, 2024
d7f7f50
config paths
alexwybraniec Nov 18, 2024
a149c5e
bundle all js, copy files, version from package.json
alexwybraniec Nov 18, 2024
87ef71e
duplicate tasks to test vite package and dist
alexwybraniec Nov 19, 2024
8d3d03a
remove index.html because I've figured out how input works
alexwybraniec Nov 19, 2024
08c3d6a
remove unneeded font css file
alexwybraniec Nov 19, 2024
1de43fd
junk commit so I can check out to main
alexwybraniec Nov 19, 2024
6f76cee
progress, and tempporarily ignore the package-vite folder
alexwybraniec Dec 3, 2024
6603b0c
rolup
alexwybraniec Dec 3, 2024
656832c
lint test
alexwybraniec Dec 3, 2024
f465e1e
vite config change root
alexwybraniec Dec 3, 2024
60c2099
hard coding some paths
alexwybraniec Dec 3, 2024
0071433
remove package-vite
alexwybraniec Dec 3, 2024
7e6539b
getting there
alexwybraniec Dec 3, 2024
f10dcfb
trying to find out why the tests think we should have files we don't
alexwybraniec Dec 3, 2024
accb1bf
remove package for clean build
alexwybraniec Dec 3, 2024
f284bc7
pack bump
alexwybraniec Dec 3, 2024
e8bb2e1
update puppeter
alexwybraniec Dec 4, 2024
9e2e2fc
update jest-pupeter
alexwybraniec Dec 4, 2024
bb6d086
update puppeter device config to use KnownDevices
alexwybraniec Dec 4, 2024
a8e078b
package
alexwybraniec Dec 4, 2024
98e88b6
Merge branch 'add-vite-to-main' into clone-of-main
alexwybraniec Dec 5, 2024
ad376a8
Merge pull request #220 from LBCamden/clone-of-main
alexwybraniec Dec 5, 2024
f53d7ae
package lock
alexwybraniec Dec 5, 2024
416a11a
put the paths back to being correct
alexwybraniec Dec 5, 2024
12a32b8
file check now works for package-vite despite containing dist
alexwybraniec Dec 5, 2024
1805964
split the vite builds into dist and package
alexwybraniec Dec 6, 2024
998ded2
tidy up dist vite
alexwybraniec Dec 6, 2024
78f2198
cant use ext in entries
alexwybraniec Dec 6, 2024
2eaa7e2
refactor dist
alexwybraniec Dec 6, 2024
f819452
update package test to ignore map files generated
alexwybraniec Dec 6, 2024
f70f323
fix vite config
alexwybraniec Dec 6, 2024
1f435c7
tody up package
alexwybraniec Dec 6, 2024
ba7b4bc
Still cant make the JS work
alexwybraniec Dec 6, 2024
56af911
remove es2015 generate
alexwybraniec Dec 10, 2024
ea20885
set filename of CSS output, but need to stop it inlining all fonts
alexwybraniec Dec 18, 2024
b6a4eb8
set filename of CSS output, but need to stop it inlining all fonts
alexwybraniec Dec 18, 2024
a9dc0c0
reenable minify on JS
alexwybraniec Dec 18, 2024
2540c9b
reenable minify on JS
alexwybraniec Dec 18, 2024
4e69617
separate out css
alexwybraniec Dec 19, 2024
7c70548
copy but dont transpile gov uk js
alexwybraniec Dec 19, 2024
3c6c3bf
look at minifying outputs
alexwybraniec Dec 19, 2024
cb58d02
use more standard build with index.html entry point
alexwybraniec Jan 6, 2025
050a603
add larger example page into entry point
alexwybraniec Jan 6, 2025
b180278
got js working without button
alexwybraniec Jan 6, 2025
ea2ae61
remove button polyfill, tweak config
alexwybraniec Jan 6, 2025
48b77a8
remove button polyfill, tweak config
alexwybraniec Jan 6, 2025
0b2c160
fix asset path
alexwybraniec Jan 6, 2025
0e1a688
fix asset path
alexwybraniec Jan 6, 2025
caba464
dont need to treat js as external
alexwybraniec Jan 6, 2025
c1a93fb
tidy up
alexwybraniec Jan 6, 2025
a347cbe
Tidy up entry point
alexwybraniec Jan 6, 2025
8e5d9bc
move example assets out of assets root
alexwybraniec Jan 6, 2025
ee21986
move example assets out of assets root
alexwybraniec Jan 6, 2025
d9c0a6e
simplify entry point
alexwybraniec Jan 6, 2025
1574659
dist and package tests passing now we aren't testing for modules
alexwybraniec Jan 6, 2025
48e9020
tidy up package.json removing unused commands
alexwybraniec Jan 6, 2025
bfd09fe
lint and standard js
alexwybraniec Jan 6, 2025
cf68927
remove unused js tests
alexwybraniec Jan 6, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
install vite
  • Loading branch information
alexwybraniec committed Nov 18, 2024
commit 6e95972659db0afa208daff6b0d5c8f80ae98ab6
Loading