Skip to content

Commit

Permalink
fix: test studio favicons loading
Browse files Browse the repository at this point in the history
  • Loading branch information
stipsan committed Aug 12, 2022
1 parent 1db81ff commit 54acf81
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 25 deletions.
6 changes: 0 additions & 6 deletions .parcelrc

This file was deleted.

9 changes: 4 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,15 @@
"default": "./lib/esm/studio.js"
}
},
"//": "the typesVersion config below is a workaround for TypeScript's lack of support for package exports",
"main": "dist/index.js",
"module": "dist/next-sanity.esm.js",
"typesVersions": {
"*": {
"studio": [
"./dist/studio.d.ts"
]
}
},
"main": "dist/index.js",
"module": "dist/next-sanity.esm.js",
"typings": "dist/index.d.ts",
"files": [
"dist",
Expand All @@ -55,14 +54,14 @@
"clean": "rimraf lib",
"coverage": "npm test -- --coverage",
"dev": "next",
"update:icons": "cp node_modules/@sanity/server/lib/static/favicons/* src/studio/static && cp src/studio/static/{favicon-192.png,favicon-512.png,manifest.webmanifest} public",
"format": "npm run prettier -- --write . && eslint --fix .",
"lint": "eslint --max-warnings 0 .",
"prepublishOnly": "npm run lint && npm run build && node scripts/postParcel",
"prettier": "npx prettier --ignore-path .gitignore",
"test": "jest",
"tsdx": "tsdx --tsconfig ./tsconfig.tsdx.json",
"type-check": "tsc --noEmit"
"type-check": "tsc --noEmit",
"update:icons": "cp node_modules/@sanity/server/lib/static/favicons/* src/studio/static && cp src/studio/static/favicon-{192,512}.png public && cp src/studio/static/webmanifest.json public/manifest.webmanifest"
},
"browserslist": "chrome 59, safari 11, firefox 56, edge 14, ie 11",
"prettier": {
Expand Down
14 changes: 0 additions & 14 deletions src/studio/static/manifest.webmanifest

This file was deleted.

1 comment on commit 54acf81

@vercel
Copy link

@vercel vercel bot commented on 54acf81 Aug 12, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

next-sanity – ./

next-sanity.sanity.build
next.sanity.build
next-sanity-git-main.sanity.build

Please sign in to comment.