Skip to content

Commit

Permalink
Replace webpack with vite
Browse files Browse the repository at this point in the history
  • Loading branch information
printfn committed Dec 15, 2023
1 parent caf51b5 commit 3c39d99
Show file tree
Hide file tree
Showing 24 changed files with 2,773 additions and 5,774 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/gh_pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16'
cache: 'yarn'
node-version: '20'
- name: Install minimal stable rust
uses: actions-rs/toolchain@v1
with:
Expand All @@ -21,9 +20,9 @@ jobs:
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
- name: Install node dependencies
run: |
yarn
npm ci
- name: Build
run: yarn run build
run: npm run build
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
Expand Down
7 changes: 0 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
node_modules/
dist/
.yarn/*
!.yarn/patches
!.yarn/releases
!.yarn/plugins
!.yarn/sdks
!.yarn/versions
.pnp.*
pkg/
data/compiled-data.json
546 changes: 0 additions & 546 deletions .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs

This file was deleted.

874 changes: 0 additions & 874 deletions .yarn/releases/yarn-3.6.1.cjs

This file was deleted.

7 changes: 0 additions & 7 deletions .yarnrc.yml

This file was deleted.

782 changes: 661 additions & 121 deletions LICENSE

Large diffs are not rendered by default.

5 changes: 2 additions & 3 deletions html/index.html → index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
<link rel="manifest" href="/site.webmanifest" />
<link rel="stylesheet" href="main.css" />
<link rel="preload" href="compiled-data.json" as="fetch" crossorigin="anonymous" />
<link rel="stylesheet" href="/src/style.css" />
<link
rel="search"
type="application/opensearchdescription+xml"
Expand Down Expand Up @@ -535,6 +534,6 @@ <h4 class="modal-title">
</div>
</div>
</div>
<script src="bundle.js"></script>
<script type="module" src="/src/index.ts"></script>
</body>
</html>
Loading

0 comments on commit 3c39d99

Please sign in to comment.