SWC Macro
See original GitHub issueA plugin to replace .env
variables in a certain manner. Initially proposed in #77. Initial design used regex to replace anything surrounded by handlebars. I think we should use deno_swc
which will allow us to instead replace Deno.env.
anything. We could possibly look into requiring ALEPH_PUBLIC_
prefix to .env
variables unless it is accessed inside a useDeno
hook.
Issue Analytics
- State:
- Created 3 years ago
- Comments:20 (20 by maintainers)
Top Results From Across the Web
Add SWC Plugin · Issue #144 · kentcdodds/babel-plugin-macros
Looking at which babel plugins create-react-app uses it seems like most of those things are supported by swc (with only a few exceptions)....
Read more >Implementing a plugin - SWC
You can install a rust-based CLI for SWC by doing. cargo install swc_cli ... is a macro call, and it returns various types...
Read more >An experimental transpiler to bring tailwind macros to SWC
This is an experimental SWC transpiler to bring compile time tailwind macros to SWC (and nextjs) a-la twin macro. The goal is to...
Read more >macro swc* | SAP Community
hi, i would like to ask on the macro, for example, swc_get_element and other swc_* in business object. why we need to use...
Read more >SWC macro shot - dive watches, swiss watches, diver - Pinterest
May 10, 2019 - Explore Swiss Watch Company's board "SWC macro shot" on Pinterest. See more ideas about dive watches, swiss watches, diver....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
for example, we can transform graphql string to AST at build time with macro:
output code:
i perfer a new concept swc-marco can be a solution:
it will be transpiled to below code:
and the macro will export the
deno.env
as__ALEPH_ENV
.what do you think? @shadowtime2000 @alfredosalzillo