Sign up
  1. rs-sdk
  2. /
  3. palanti-rs-sdk
CodeIssuesPullsCIStacksSearchBranchesTags
View stargazersSign up
  1. vite.config.ts
Commits

Files

data
data
…
docs
docs
…
patches
patches
…
public
public
…
scripts
scripts
…
server
server
…
shared
shared
…
src
src
…
tools
tools
…
.env.example
.env.example
…
.gitattributes
.gitattributes
…
.gitignore
.gitignore
…
.gitleaks.toml
.gitleaks.toml
…
AGENTS.md
AGENTS.md
…
CHANGELOG.md
CHANGELOG.md
…
CONTRIBUTING.md
CONTRIBUTING.md
…
DESIGN.md
DESIGN.md
…
EXPORT-MANIFEST.json
EXPORT-MANIFEST.json
…
LICENSE
LICENSE
…
README.md
README.md
…
RELEASE-READINESS.md
RELEASE-READINESS.md
…
SECURITY.md
SECURITY.md
…
THIRD-PARTY-NOTICES.md
THIRD-PARTY-NOTICES.md
…
components.json
components.json
…
dither-preview.html
dither-preview.html
…
index.html
index.html
…
package.json
package.json
…
pnpm-lock.yaml
pnpm-lock.yaml
…
pnpm-workspace.yaml
pnpm-workspace.yaml
…
tsconfig.json
tsconfig.json
…
vite.config.ts
vite.config.ts
…
vite.dither.config.ts
vite.dither.config.ts
…

vite.config.ts

import {defineConfig} from 'vite';
import tailwindcss from '@tailwindcss/vite';
import {fileURLToPath} from 'node:url';
// The shared native atlas must use the host's React instance.
export default defineConfig({plugins:[tailwindcss()],resolve:{alias:{'@':fileURLToPath(new URL('./src',import.meta.url))},dedupe:['react','react-dom']}});