Skip to content

Commit

Permalink
Switch to vite
Browse files Browse the repository at this point in the history
  • Loading branch information
opsb committed Oct 29, 2023
1 parent f0230b5 commit b15cca8
Show file tree
Hide file tree
Showing 10 changed files with 2,114 additions and 11,351 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ node_modules

# Desktop Services Store on macOS
.DS_Store
dist
5 changes: 3 additions & 2 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
elm 0.19.0
nodejs 14.14.0
elm 0.19.1
python 3.10.7
nodejs 17.0.0
7 changes: 2 additions & 5 deletions Justfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
run:
elm-app start

publish: gen-pdf
@echo "----> Publishing to netlify"
@elm-app build && netlify deploy --prod
@npm run build && netlify deploy --prod -d dist

gen-pdf:
npm run generate-pdf
npm run generate-pdf
11 changes: 11 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Vite App</title>
<script type="module" src="/src/index.js"></script>
</head>
<body>
</body>
</html>
Loading

0 comments on commit b15cca8

Please sign in to comment.