- native: Add 'musl' build
- native: Fix reexport output
- lexer: Support reexport extends
var lib = require("lib"); lib.bar = true; module.exports = lib; // output: // { exports: [ "bar" ], reexports: [ "lib" ] }
- lexer: Support
var foo = exports; foo.bar = true
pattern - lexer: Support
var foo = exports.foo = ...
pattern - lexer: Support
(function(){ ... }).call(this)
IIFE expr (normally generated by coffeescript) - native: Support json module
- native: Fix resolver
PackagePathNotExported
error
- native: Improve module resolver
- native: Improve arguments input
npm i react NODE_ENV=development ./cjs-module-lexer react
- Change npm package to ESM
- Add native build
- Upgrade swc_esmascript 8.0.0
- Upgrade swc_esmascript 5.0.0
- Publish package under
@esm.sh
scope - Upgrade swc_esmascript 4.0.0
- Check IIFE block under
&&
binary expression (close #1)"production" !== process.env.NODE_ENV && (function () { module.exports = { foo: 'bar' } })()
- Support
Object.defineProperty((0, exports), "foo", { value: "bar" });
equivalent toexports.foo = "bar";
Moved the repository from https://github.com/esm-dev/esm.sh