@guidecx/config-babel

0.0.1-alpha.0 • Public • Published

GCX Babel Config

This module contains the configuration files for Babel that are used by all GuideCX applications.

NOTE: This package is dependent on a project having typescript installed (and by extension the tsc command).

Installing library into another project

The index.js file exports our babel configuration. In the project you are adding this configuration file to, you can do the following in your babel.config.js file assuming you have installed the dependency via npm install --save-dev @guidecx/config-babel:

module.exports = {
  extends: '@guidecx/config-babel',
};

Then, in your tsconfig.json file add the following rule:

"noEmit": true

If everything is set up correctly, you should be able to use babel transpilations in your code. Check the official documentation for troubleshooting.

Readme

Keywords

none

Package Sidebar

Install

npm i @guidecx/config-babel

Weekly Downloads

0

Version

0.0.1-alpha.0

License

ISC

Unpacked Size

2.19 kB

Total Files

3

Last publish

Collaborators

  • walex
  • kylejw2