Skip to content

Commit

Permalink
Switch to using electron-vite instead of WebPack (#45)
Browse files Browse the repository at this point in the history
This sets us back up to use Vite via the electron-vite package. This
will let us continue to build our testing suite on Vitest and take
advantage of Vite features like Hot Module Reloading, etc.

---------

Co-authored-by: sawka <[email protected]>
  • Loading branch information
esimkowitz and sawka authored Jun 13, 2024
1 parent 0f992c5 commit b2b1f9b
Show file tree
Hide file tree
Showing 29 changed files with 246 additions and 2,890 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,25 @@ Prereqs:

You'll need to install "task" (which we're using as a build/run system):

```
```sh
brew install go-task
```

On first checkout:

```
```sh
yarn
go mod tidy
```

To run the app, you'll first need to run the webpack watcher:
Then, run the following command to start the app using the Vite dev server (this will enable Hot Module Reloading):

```
task webpack
```sh
task electron:dev
```

Then, in a separate terminal, this command will run the electron app:
To run the app without the dev server, run the following instead:

```
task electron
```sh
task electron:start
```
Loading

0 comments on commit b2b1f9b

Please sign in to comment.