|
You are here |
www.trickster.dev | ||
| | | | |
honza.pokorny.ca
|
|
| | | | | Thoughts of an open source developer with a theology degree. Honza Pokorný is a web developer and an armchair theologian in Halifax, Canada | |
| | | | |
krasimirtsonev.com
|
|
| | | | | Replacing code for production with Babel transformation / If you are building some sort of an app, Babel is probably part of your build system. It is that thing which converts our fancy code to valid, working in a browser, JavaScript. Just recently at work I had to design a solution that swaps a class based on the environment. Or in another words, we have logic that should not reach our users. The file should be available locally and on our staging environment but not in production. A tiny Babel plugin was the cheapest solution for me so I decided to share the result. | |
| | | | |
ariya.io
|
|
| | | | | A common approach to analyze JavaScript source statically is to parse the source into an abstract syntax tree (AST) and then to traverse the AST. An alternative approach that might work in a few cases is to inspect each syntax node as it is constructed. | |
| | | | |
stackoverflow.blog
|
|
| | | |||