Releases: esm-dev/cjs-module-lexer
Releases · esm-dev/cjs-module-lexer
v1.0.7
v1.0.6
- native: Fix reexport output
v1.0.5
- 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
v1.0.4
- native: Improve the module resovler
v1.0.3
- native: Improve arguments input
npm i react NODE_ENV=development ./cjs-module-lexer react
- Change npm package to ESM
v1.0.2
- Add native build
- Upgrade swc_esmascript 8.0.0