Using Parcel as a dev server #16977
-
Hello everyone, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hey! We actually have support for Vite (+ rollup) and I'd love to get support for Parcel. Can you send me a repository with your normal development flow? I don't know how folks usually develop Parcel apps. For component testing, we just need some sort of a dev server. Even something like a static express server would work just fine. Essentially, Cypress treats each spec as a standalone "page", so we need to have a harness that respects that contract and correctly returns a "compiled" file where your spec is essentially a In Webpack, that's particularly difficult because we need to support a lot of Webpack's proprietary bundling features... However, but for different bundlers, it's generally pretty easy to get it working. Anyway, shoot me over an example repo and I'll take a look 👍🏻. |
Beta Was this translation helpful? Give feedback.
Hey!
We actually have support for Vite (+ rollup) and I'd love to get support for Parcel.
Can you send me a repository with your normal development flow? I don't know how folks usually develop Parcel apps.
For component testing, we just need some sort of a dev server. Even something like a static express server would work just fine.
Essentially, Cypress treats each spec as a standalone "page", so we need to have a harness that respects that contract and correctly returns a "compiled" file where your spec is essentially a
main.js
file.In Webpack, that's particularly difficult because we need to support a lot of Webpack's proprietary bundling features... However, but for different bundlers…