Search results
22 packages found
A Babel plugin for resolving ESM import and export paths
Fetch the current file and directory path, no matter your environment (Deno, Node.js, Web Browsers, ESM, CJS)
- __dirname
- __filename
- commonjs
- deno
- deno-edition
- deno-entry
- denoland
- directory
- dirname
- ecmascript
- es2022
- es5
- esm
- export-default
- View more
A Babel plugin to replace module import and export paths
Node.js loader for import specifiers as file paths without extensions or as directory paths
Transform generated javascript import/require paths using typescript standard config
cli to rename file extensions and rewrite imports for commonjs (cjs) and esm after typescript build
Node.js loader for import specifiers as file paths without extensions or as directory paths
- --experimental-specifier-resolution
- specifier-resolution
- node
- nodejs
- module
- loader
- resolver
- resolution
- esm
- es6
- esnext
- ecmascript
- extension
- filename
- View more
Access to __filename and __dirname within ECMAScript modules
A function to recursively extract files and their object paths within a value, replacing them with null in a deep clone without mutating the original value. FileList instances are treated as File instance arrays. Files are typically File and Blob instance
Is a loader to fix the esm resolver to ocept commonjs paths
Clones a value, recursively extracting File, Blob and ReactNativeFile instances with their object paths, replacing them with null. FileList instances are treated as File instance arrays.
A custom loader for ESM projects that adds support for tsconfig paths
A custom loader for ESM projects that adds support for tsconfig paths
A Babel plugin that adds file extensions to Babel runtime import specifiers and require paths for Node.js ESM compatibility.
Clones a value, recursively extracting File, Blob and ReactNativeFile instances with their object paths, replacing them with null. FileList instances are treated as File instance arrays.
Adds extensions in esm imports/exports
Resolve `import` and `export` expressions using the TSConfig `paths` and `baseUrl`. This was made to be used on Node environments where you need to have relative imports and most transpile tools (even `tsc` itself) doesn't change imports.
ESM and CJS support for `path.join` of both file paths and file URLs
Append a string to esm import paths in rollup
Append a string to esm import paths in rollup.