Skip to content

Commit

Permalink
cypress.config.js changes
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-zamora committed Jun 24, 2024
1 parent 48a7323 commit 505d90b
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion cypress.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,15 @@ export default defineConfig({
},
e2e: {
setupNodeEvents(on) {
on('file:preprocessor', vitePreprocessor())
on('file:preprocessor', vitePreprocessor({
build: {
rollupOptions: {
output: {
format: 'es'
}
}
}
}))
}
}
})

0 comments on commit 505d90b

Please sign in to comment.