Skip to content

node-loader/node-loader-extensionless

Repository files navigation

node-loader-extensionless

A node loader that auto-appends .js or .ts extensions to imports, based on the parentURL.

When paired with @node-loader/babel loader allows for loading typescript via NodeJS loaders

Installation

npm install --save @node-loader/extensionless

yarn add @node-loader/extensionless

pnpm install --save @node-loader/extensionless

Usage

node --loader @node-loader/extensionless