From 2b8721e394c9e3eae24263f42ec29ff6f8d5d110 Mon Sep 17 00:00:00 2001 From: Jeremy Kahn Date: Thu, 29 Aug 2024 19:50:42 -0500 Subject: [PATCH] chore(package): treat package as a module --- README.md | 2 +- package.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 33cabbc1f..2d579be36 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ Farmhand uses a [SemVer](https://semver.org/)-like versioning system. It differs ## Project overview -- This project is built with [Create React App](https://create-react-app.dev/), so please refer to the documentation of that project to learn about the development toolchain. +- This project uses [Vite](https://vitejs.dev/), so please refer to the documentation of that project to learn about the development toolchain. - Farmhand uses [Piskel](https://www.piskelapp.com/) for the art assets. ## Running locally diff --git a/package.json b/package.json index 93fa28671..c04dfacb7 100644 --- a/package.json +++ b/package.json @@ -8,6 +8,7 @@ "main": "public/electron.js", "unpkg": "build/index.html", "homepage": "https://www.farmhand.life/", + "type": "module", "scripts": { "build": "vite build", "build:native": "npm run build -- --base='./' && electron-builder --publish=always",