const class compilerEs::Esm

sys::Obj
  compilerEs::ModuleSystem
    compilerEs::Esm

Source

Esm

doWriteInclude

protected virtual override OutStream doWriteInclude(OutStream out, Str module, Str path)

Source

ext

virtual const override Str ext := "js"

Source

make

new make(File nodeDir)

Source

moduleDir

virtual const override File moduleDir := this.nodeDir.plus(`esm/`)

Source

moduleType

virtual const override Str moduleType := "esm"

Source

writeExports

virtual override OutStream writeExports(OutStream out, Str[] exports)

Source

writePackageJson

virtual override Void writePackageJson(Str:Obj? json)

Source