Necessarily Precedes Mischief

    @ta-interaktiv/babel-preset-react-project

    2.1.6 • Public • Published

    Babel Preset for React Project Development

    A simple babel preset for developing React projects using Webpack. Used together with https://gitlab.com/ta-interaktiv/project-templates/react-base and https://www.npmjs.com/package/@ta-interaktiv/webpack-config.

    Installation

    yarn add @ta-interaktiv/babel-preset-react-project --dev
    yarn add react-hot-loader --dev

    Add to .babelrc:

    {
      "presets": ["@ta-interaktiv/babel-preset-react-project"]
    }

    Polyfills

    Polyfills are not included in this preset. When using @ta-interaktiv/webpack-config, those polyfills should be included using https://polyfill.io/.

    Hot-Exporting Main Component

    When used together with a fairly recent version of the React Base Project, everything should already have been set up.

    Otherwise follow the instructions here from #2 onwards. By default, the React Base should contain this snippet already.

    Keywords

    Install

    npm i @ta-interaktiv/babel-preset-react-project

    DownloadsWeekly Downloads

    109

    Version

    2.1.6

    License

    ISC

    Unpacked Size

    13 kB

    Total Files

    4

    Last publish

    Collaborators

    • dariush-mehdiaraghi
    • mrdz_tx
    • mathiaslutz
    • bartfehr
    • sebaa
    • grmnd