Skip to content

Latest commit

 

History

History
 
 

custom-transformer

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Example: Custom Transformer

Summary

This example shows how to create a custom transformer.

The custom transformer renames all functions called foo to bar.

# Input
example/foo.ts

# The custom transformer
src/FooTransformer.js

# Output
dist/foo.bar.ts

Transforming the example

yarn run esmbly run