You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We'd like to be able to disable that or add directives to the policy.
Why is this needed?
When running using ESBuilld it prevents dynamic imports from working. Some of our tests have dynamic imports. Currently everything works fine with Webpack because it bundles everything together. ESBuild does not do that, so those imports stop working. We'd like to use ESBuild instead as the rest of the repository has been migrated to Vite.
Other
No response
The text was updated successfully, but these errors were encountered:
Got the same issue as well, my scenario is when trying to use pdfjs-dist which requires you set workerSrc which loads a Worker script in the browser context. I'd like to use PDF.js to process a PDF.
What would you like?
In this file you have a Content Security Policy that governs the test runner (line 12):
https://github.com/cypress-io/cypress/blob/develop/packages/driver/src/util/privileged_channel.ts
We'd like to be able to disable that or add directives to the policy.
Why is this needed?
When running using ESBuilld it prevents dynamic imports from working. Some of our tests have dynamic imports. Currently everything works fine with Webpack because it bundles everything together. ESBuild does not do that, so those imports stop working. We'd like to use ESBuild instead as the rest of the repository has been migrated to Vite.
Other
No response
The text was updated successfully, but these errors were encountered: