Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Jun 18, 2024. It is now read-only.

A collection of awesome babel macros and related resources

NotificationsYou must be signed in to change notification settings

jgierer12/awesome-babel-macros

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 

Repository files navigation

A collection of awesomebabel macros and related resources

Contents


Macros

General

Performance and Memory management

File loading

  • lqip.macro: Create LQIP at build-time, similar to webpack'slqip-loader
  • raw.macro: Apply webpack'sraw-loader
  • yaml.macro: Load YAML files as pre-parsed objects
  • json.macro: Load JSON files individually or by pattern matching, with special support for package.json, version and tsconfig files.
  • fetch.macro: Allows you to build fetcher function by URL at compile-time.

Object/Array manipulation

  • traph.macro: Transform Objects easily, leveraging object getters and graphs
  • idx.macro: Traverse properties on objects and arrays

TypeScript

Code generation

Development

React

CSS-in-JS

GraphQL

Resources

General

Developing macros

Integrations

The following projects includebabel-plugin-macros, so macros can be used out of the box without additional configuration:


Footnotes

  1. preval vscodegen↩️

Contribute

Contributions welcome! Read thecontribution guidelines first.

License

CC0

To the extent possible under law, Jonas Gierer has waived all copyright andrelated or neighboring rights to this work.

About

A collection of awesome babel macros and related resources

Topics

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors23


[8]ページ先頭

©2009-2025 Movatter.jp