Skip to content

Commit

Permalink
Use vite vs webpack
Browse files Browse the repository at this point in the history
  • Loading branch information
reindernijhoff committed Mar 27, 2024
1 parent cca7fdb commit 4e10c21
Show file tree
Hide file tree
Showing 24 changed files with 3,438 additions and 3,703 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ jobs:

strategy:
matrix:
node-version: [18.x, 20.x]
node-version: [20.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/bump-version-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
node-version: '20'
cache: 'npm'

- name: Install npm packages
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish-dev-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ jobs:

steps:
- name: Check out source
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '18'
node-version: '20'
cache: 'npm'

- name: Install npm packages
Expand Down
1 change: 0 additions & 1 deletion example/dist/bundle.js

This file was deleted.

2 changes: 1 addition & 1 deletion example/dist/index.html → example/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@
<div class="grid-item"></div>
<div class="grid-item"></div>
<div class="grid-item"></div>
<script src="bundle.js"></script>
<script type="module" src="src/index.js"></script>
</body>
</html>
Loading

0 comments on commit 4e10c21

Please sign in to comment.