Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@node-loaders/esbuild

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@node-loaders/esbuild

Loader that transpiles typescript modules using esbuild.

  • 1.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2.9K
decreased by-10.46%
Maintainers
1
Weekly downloads
 
Created
Source

@node-loaders/esbuild

Loader that transpiles typescript modules using esbuild.

Usage

For configuration tools, refer to usage

When using in combination with others @node-loaders modules make sure to use @node-loaders/auto for better interoperability.

Loaders

  • @node-loaders/esbuild for esm with loose extension support.
  • @node-loaders/esbuild/strict for esm with strict extension imports with loose require support.
  • @node-loaders/esbuild/esm for esm with strict extension imports without require support.

ESM/strict mode

Native ECMAScript support requires imports with extensions, while commonjs files allows directory imports and extensionless files.

To match this behaviour, use:

  • @node-loaders/esbuild/strict for esm with strict extension imports with loose require support.
  • @node-loaders/esbuild/esm for esm with strict extension imports without require support.

Directory and extension-less imports

ESM is strict on requiring extension. If there is a need to allow directory and extension-less imports use the compat exports. @node-loaders/esbuild/compat

License

MIT

Keywords

FAQs

Package last updated on 11 May 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc