0.1.0 • Published 4 years ago

@vtex/babel-plugin-vtex-cms v0.1.0

Weekly downloads
21
License
MIT
Repository
-
Last release
4 years ago

@vtex/babel-plugin-vtex-cms

This package is a simple Babel plugin that performs some transformations on tsx code which are useful for VTEX CMS, such as removing .displayNames and .schemas assignments.

Installation

Give that you already have babel installed, run:

yarn add -D @vtex/babel-plugin-vtex-cms

Usage

After installing the module, add it to the plugins array in your project's babel configuration file:

{
  "plugins": ["@vtex/babel-plugin-vtex-cms"]
}