Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Latest commit

 

History

History

babel-preset-udemy-website

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Udemy Babel Preset for our Website

This is the main configuration used by our udemy/website-django/static/ codebase.

Installation

Install Babel locally. See this package's package.json for the correct peer dependency version:

$ yarn add @babel/core

Install the Udemy Babel Preset locally.

$ yarn add babel-preset-udemy-website

Configuration

Add an extends section to your .babelrc and specify udemy as an extended configuration.

// At .babelrc

{
    "presets": ["udemy-website"]
}

Contributing

See Contributing.