This package provides a variety of loaders to facilitate a quick and easy CI testing environment.
Warning
These should NOT be used in production; they will likely not do what you need there anyway.
node
# sequence here IS important:
--loader=@nodejs-loaders/alias \
--loader=@nodejs-loaders/tsx \
--loader=@nodejs-loaders/svgx \
--loader=@nodejs-loaders/mismatched-format \
# sequence here is NOT important:
--loader=@nodejs-loaders/css-module \
--loader=@nodejs-loaders/media \
--loader=@nodejs-loaders/text \
./main.js
- Alias loader
- JSX / TSX loader
- SVGX loader
- Mismatched format loader
- CSS Modules loader
- Media loader
- Text loader
These loaders are officially maintained by their respective projects and are recommended (they're the most up-to-date and have the best support).