@fxone/babel-preset

1.0.1 • Public • Published

Bebel preset

This is a preset for babel with TypeScript support

Usage

Installation with yarn:

$ yarn add @fxone/babel-preset -D

Add some scripts to your package.json:

{
  // ...
  "scripts": {
    "build": "babel src --extensions \".es6,.js,.es,.jsx,.mjs,.ts,.tsx\" --ignore *.spec.js --out-dir dist --copy-files --source-maps --verbose"
  }
}

Create a babel.config.js in your project directory, and set it up like so:

module.exports = {
  presets: ['@fxone/babel-preset'],
};

Readme

Keywords

none

Package Sidebar

Install

npm i @fxone/babel-preset

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

2.36 kB

Total Files

4

Last publish

Collaborators

  • fxone