JakobJingleheimer / nodejs-loaders

A collection of loaders to facilitate a quick and easy local development and CI testing environment.
11 stars 3 forks source link
loaders nodejs plugins webdev

Nodejs Loaders

coverage tests

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

Project-official loaders

These loaders are officially maintained by their respective projects and are recommended (they're the most up-to-date and have the best support).