Skip to content

Commit

Permalink
refactor: drop unnecessary dot-path workaround plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
rexxars authored and stipsan committed Nov 29, 2024
1 parent 76b878c commit c487093
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 100 deletions.
2 changes: 0 additions & 2 deletions packages/sanity/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,6 @@
"classnames": "^2.2.5",
"color2k": "^2.0.0",
"configstore": "^5.0.1",
"connect-history-api-fallback": "^1.6.0",
"console-table-printer": "^2.11.1",
"dataloader": "^2.1.0",
"date-fns": "^2.26.1",
Expand Down Expand Up @@ -284,7 +283,6 @@
"@types/archiver": "^6.0.2",
"@types/arrify": "^1.0.4",
"@types/configstore": "^5.0.1",
"@types/connect-history-api-fallback": "^1.5.2",
"@types/debug": "^4.1.12",
"@types/jsdom": "^20.0.0",
"@types/lodash": "^4.17.7",
Expand Down
2 changes: 0 additions & 2 deletions packages/sanity/src/_internal/cli/server/getViteConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import {getStudioEnvironmentVariables} from './getStudioEnvironmentVariables'
import {normalizeBasePath} from './helpers'
import {getMonorepoAliases, loadSanityMonorepo} from './sanityMonorepo'
import {sanityBuildEntries} from './vite/plugin-sanity-build-entries'
import {sanityDotWorkaroundPlugin} from './vite/plugin-sanity-dot-workaround'
import {sanityFaviconsPlugin} from './vite/plugin-sanity-favicons'
import {sanityRuntimeRewritePlugin} from './vite/plugin-sanity-runtime-rewrite'

Expand Down Expand Up @@ -110,7 +109,6 @@ export async function getViteConfig(options: ViteOptions): Promise<InlineConfig>
reactCompiler ? {babel: {plugins: [['babel-plugin-react-compiler', reactCompiler]]}} : {},
),
sanityFaviconsPlugin({defaultFaviconsPath, customFaviconsPath, staticUrlPath: staticPath}),
sanityDotWorkaroundPlugin(),
sanityRuntimeRewritePlugin(),
sanityBuildEntries({basePath, cwd, monorepo, importMap}),
],
Expand Down

This file was deleted.

53 changes: 0 additions & 53 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c487093

Please sign in to comment.