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

Квитанции проверки