Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate & extend vite-plugin-cjs-interop #1551

Open
brillout opened this issue Mar 13, 2024 · 0 comments
Open

Integrate & extend vite-plugin-cjs-interop #1551

brillout opened this issue Mar 13, 2024 · 0 comments

Comments

@brillout
Copy link
Member

brillout commented Mar 13, 2024

Description

Integrate https://github.com/cyco130/vite-plugin-cjs-interop into Vike, as well as add a mechansim to automatically applying it (by dynamically determining whether an npm package is CJS).

Also double checking vite-plugin-cjs-interop's implementation on correctness and whether integrating it may have any potential negative side effects.

Also maybe add a new config that sets both ssr.noExternal and ssr.optimizeDeps, see for example #1637 (reply in thread).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant