diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index b10fef7..2c9fd4d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -35,7 +35,6 @@ jobs: run: | mv dist ${{ env.PLUGIN_NAME }} cp example.png settings.png logo.svg README.md package.json ${{ env.PLUGIN_NAME }} - sed -i '' 's/"main": "\.\/dist\/index\.html"/"main": "\.\/index\.html"/g' ./${{ env.PLUGIN_NAME }}/package.json zip -r ${{ env.PLUGIN_NAME }}.zip ${{ env.PLUGIN_NAME }} tar -cvzf ${{ env.PLUGIN_NAME }}.tgz ${{ env.PLUGIN_NAME }} ls diff --git a/package.json b/package.json index cd49f76..53b26d5 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "A plugin for coloring threads", "author": "PatrickDeVries", "license": "MIT", - "main": "dist/index.html", + "main": "./index.html", "scripts": { "dev": "vite", "build": "tsc && vite build",