Muil

Muil

  • Docs
  • Configurations
  • API
  • Blog

›Configurations

Getting Started

  • Quick Start Guide
  • Slow Start Guide
  • Run Templates Viewer
  • Write Template
  • Styling Template
  • Solutions
  • Why Muil

Configurations

  • CLI
  • Custom Webpack Config
  • Custom Babel Config

API

  • Authorization
  • Sending Email
  • Generating PDF
  • Generating Image
  • Generating HTML

Email Limitations

  • Fonts
  • SVG

Components

  • Intro
  • Grid
  • Style
  • Alignment
  • Typography
  • Button
  • Callout
  • Menu
  • Spacer
  • Wrapper
  • Charts
  • PDF Page

Custom Babel Config

Custom Babel Config

To create a custom babelrc configuration just create .muil/.babelrc at the root project:

root directory
├───.muil
|   └───.babelrc
├───src
└───templates

The babelrc will override the default configuration!

Example
{
  "presets": ["@babel/preset-env", "@babel/preset-react"],
  "plugins": ["babel-plugin-styled-components"]
}
← Custom Webpack ConfigAuthorization →
  • Custom Babel Config
Copyright © 2021 muil