Skip to content

Commit

Permalink
feat: add support for vite 3 (mammadataei#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
mammadataei committed Aug 10, 2022
1 parent 7d00b7f commit c683bed
Show file tree
Hide file tree
Showing 5 changed files with 261 additions and 19 deletions.
2 changes: 1 addition & 1 deletion example/cypress.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import vitePreprocessor from 'cypress-vite'

export default defineConfig({
e2e: {
baseUrl: 'http://localhost:3000/',
baseUrl: 'http://localhost:5173/',
viewportWidth: 1280,
viewportHeight: 768,
specPattern: '**/*.e2e.ts',
Expand Down
5 changes: 3 additions & 2 deletions example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,11 @@
"@types/uuid": "^8.3.4",
"@vitejs/plugin-react": "^1.3.2",
"autoprefixer": "^10.4.7",
"cypress-vite": "workspace:1.0.0",
"cypress": "^10.4.0",
"cypress-vite": "workspace:*",
"postcss": "^8.4.14",
"tailwindcss": "^3.1.6",
"typescript": "^4.7.4",
"vite": "^2.9.14"
"vite": "^3.0.5"
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,6 @@
"rollup": "^2.77.2",
"tsup": "^6.2.1",
"typescript": "^4.7.4",
"vite": "^2.9.14"
"vite": "^3.0.5"
}
}
Loading

0 comments on commit c683bed

Please sign in to comment.