Webpack Loader Tutorial

Опубликовано: 14 Февраль 2025
на канале: Ana's Dev Scribbles
283
5

How to create a custom webpack loader, shown on my example where I enable loading native node modules in a NextJS app.
Never mind the outputPath condition order, it was fixed in latest release
https://www.npmjs.com/package/nextjs-....

Why I'm not always using the compiler's outputPath is because app is built on one machine, and has to be portable to other env. #webpackloader

▬ 📖Links ▬
➡ Article https://www.amarjanica.com/nextjs-and...
➡ Currently reading Hands-On Large Language Models https://amzn.to/4aXDQru