@node-loaders/auto

1.0.1 • Public • Published

@node-loaders/auto

Auto detect @node-loaders installed loaders.

The order of loaders can break some functionalities. Using this loader makes sure @node-loaders order is optimal.

Example: to mock typescript modules, the mock loader should be called before typescript loader.

Usage

For configuration tools, refer to usage

Loaders

  • @node-loaders/auto use default behavior for esbuild and mock when available.
  • @node-loaders/auto/strict use strict behavior for esbuild and default behaviour for mock when available.
  • @node-loaders/auto/esm use esm behavior for esbuild and mock when available.

License

MIT

Package Sidebar

Install

npm i @node-loaders/auto

Weekly Downloads

368

Version

1.0.1

License

MIT

Unpacked Size

8.15 kB

Total Files

12

Last publish

Collaborators

  • mshima