@dlghq/babel-preset-dialog

    4.4.0 • Public • Published

    Babel Preset

    Babel preset for dialog projects.

    Installation

    npm install --save-dev @dlghq/babel-preset-dialog
    

    Usage

    Add @dlghq/babel-preset-dialog to your .babelrc.

    {
      "presets": [
        [
          "@dlghq/babel-preset-dialog",
          {
            "strict": false,
            "optimize": true,
            "typecheck": true
          }
        ]
      ]
    }

    Options

    Name Default Description
    spec false Enable spec compliance.
    flow false Convert flow-types to comments.
    loose true Enable loose mode.
    react true Enable react transforms.
    es2015 true Enable ES2015 syntax.
    esnext true Enable ESNext syntax.
    strict true Add "use strict"; to each file.
    runtime true Enable babel runtime. Requires babel-runtime package.
    modules true Enable ES2015 modules transforms.
    helpers false Enable babel external helpers.
    optimize false Enable optimization plugins.
    typecheck false Enable typecheck plugin.
    development false Enable development mode plugins.

    License

    Apache-2.0

    Install

    npm i @dlghq/babel-preset-dialog

    DownloadsWeekly Downloads

    166

    Version

    4.4.0

    License

    Apache-2.0

    Unpacked Size

    20.3 kB

    Total Files

    7

    Last publish

    Collaborators

    • argonavt11
    • dialogs
    • dlghq-bot
    • timurkhabibullin