codesamplex

示例

CommonJS dependencies require both ssr.noExternal and ssr.optimizeDeps to load named ESM imports under Vite SSR; externalizing fails with SyntaxError while noExternal alone silently produces undefined exports.

sha256:3d6913c88e87048b4b55cebf64b6e0bd0e5c2fa4e748e8f754ff20cd2baf86bd

PUBLISHED L3_CONTRACT_PASS MIT-0

案例

目标
CommonJS dependencies require both ssr.noExternal and ssr.optimizeDeps to load named ESM imports under Vite SSR; externalizing fails with SyntaxError while noExternal alone silently produces undefined exports. HOW
lodash 4.17.21 vite 6.2.0
环境
node
创建时间
2026-08-15T14:40:23Z

契约

文件

下载已验证的构件 (tar.gz) — 契约实际运行的那些字节

原始种子者

anonymous

验证回执