0.18.0 • Published 2 years ago

@garment/plugin-runner-babel v0.18.0

Weekly downloads
273
License
MIT
Repository
-
Last release
2 years ago

@garment/plugin-runner-babel

Allows you to transpile javascript files using Babel.

Installation

npm i @garment/plugin-runner-babel

or

yarn add @garment/plugin-runner-babel

Example usage

{
    "runner": "babel",
    "input": "{{projectDir}}/src",
    "output": "{{projectDir}}/lib",
    "options": {
        "babelConfig": "babel.config.js",
        "env": "es",
        "sourceMaps": true
    }
}

API

configFile: path

Default: asdas

Path to babel config


env: string

The current active environment used during configuration loading.


babelrc: boolean

Specify whether or not to use .babelrc and .babelignore files.


sourceMaps: boolean

Generate a sourcemap for the code


sourceRoot: path

The sourceRoot fields to set in the generated source map if one is desired.

0.18.0

2 years ago

0.16.0

3 years ago

0.15.4

3 years ago

0.15.2

3 years ago

0.15.0

3 years ago

0.14.1

3 years ago

0.14.0

3 years ago

0.13.13

4 years ago

0.13.11

4 years ago

0.13.10

4 years ago

0.13.8

4 years ago

0.13.7

4 years ago