From 3d36f202175ec2d00edd0b91086832c2e49bc1a9 Mon Sep 17 00:00:00 2001 From: josh-wjp Date: Sat, 8 Feb 2025 14:15:27 -0500 Subject: [PATCH] Deleted index.js (as it should have been) and added main.jsx to the package.json --- package.json | 1 + src/index.js | 11 ----------- 2 files changed, 1 insertion(+), 11 deletions(-) delete mode 100644 src/index.js diff --git a/package.json b/package.json index 93572e6..c729686 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,7 @@ "private": true, "version": "0.0.0", "type": "module", + "main": "src/main.jsx", "scripts": { "dev": "vite", "build": "vite build", diff --git a/src/index.js b/src/index.js deleted file mode 100644 index 6832e78..0000000 --- a/src/index.js +++ /dev/null @@ -1,11 +0,0 @@ -import React from 'react'; -import ReactDOM from 'react-dom'; -import './index.css'; -import App from './App'; - -ReactDOM.render( - - - , - document.getElementById('root') -);