StaticModuleRecord (a new module format) plugin #4867
Jack-Works
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
👀 Hi! This is my first swc plugin (also my first rust project)
It supports the transform for a new module format called
StaticModuleRecord
(like SystemJS or CommonJS).https://github.com/DimensionDev/aot-secure-ecmascript/tree/main/packages/static-module-record-swc
It is built for the stage 1 tc39 proposal https://github.com/tc39/proposal-compartments/
I used to write TypeScript transformers but in this task, I chose to write an SWC plugin because it is super fast!
Beta Was this translation helpful? Give feedback.
All reactions