My opinionated standardizations with modern JS tools to hopefully make development easier. In summary, includes development and build tools. Will remove anything we don't like or is overkill.
⚠️ If we stick with Vite, the directory structure will be significantly different (more organized?).
Before
Static files
Vanilla JS
<script> CDN embeds
After
Vite bundling (If we like hot reload + build setup. This should still allow static build, i.e. deployment would be identical to how we would deploy the original code.)
My opinionated standardizations with modern JS tools to hopefully make development easier. In summary, includes development and build tools. Will remove anything we don't like or is overkill.
Before
<script>
CDN embedsAfter
<script>
CDN embedsDevelopment Instructions
npm i
to install dependencies listed inpackage.json
(d3, Vite, development tools, etc.)npm run dev
to start a hot-reloadable development serverscripts
inpackage.json
for more commands.