Размер видео: 1280 X 720853 X 480640 X 360
Показать панель управления
Автовоспроизведение
Автоповтор
For a mimic of __dirname and __filename, check out "desm" at: github.com/mcollina/desm
One more reson to switch to ESM -> The CJS build of Vite got deprecated: vitejs.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated
Great video! 👍
Thanks! If you want to migrate your project from CommonJS to ESM, give ts2esm a try: github.com/bennycode/ts2esm
For a mimic of __dirname and __filename, check out "desm" at: github.com/mcollina/desm
One more reson to switch to ESM -> The CJS build of Vite got deprecated: vitejs.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated
Great video! 👍
Thanks! If you want to migrate your project from CommonJS to ESM, give ts2esm a try: github.com/bennycode/ts2esm