babel-preset-duy

1.0.12 • Public • Published

babel-preset-duy

Babel preset for duy's react-starter-kit and more. Highly opinionated.

Install

Using npm:

npm install --save-dev babel-preset-duy

or using yarn:

yarn add babel-preset-duy --dev

Usage

module.exports = () => {
  return {
    presets: [
      [
        require.resolve("babel-preset-duy"),
        {
          outside: false, // for transform outside of the app, omit most of plugins, optimization
          react: true,
          wdyr: true, // turn on why-did-you-render support
          // vue: false, // Not yet supported
          typescript: true,
          datefns: true, // turn on support for date-fns library
          ramda: true, // turn on support for ramda library
        },
      ],
    ],
  };
};

Details

This preset includes the following presets

This preset includes the following plugins

Readme

Keywords

none

Package Sidebar

Install

npm i babel-preset-duy

Weekly Downloads

18

Version

1.0.12

License

MIT

Unpacked Size

11.3 kB

Total Files

5

Last publish

Collaborators

  • huynhducduy