NeXTSTEP Programming Mastermind

    nuxt-babel

    1.0.1 • Public • Published

    nuxt-babel

    wemake.services Build Status Coverage Status

    This plugin allows to have normal .babelrc file with your nuxt app!

    While traditional nuxt app requires that you specify all your babel configuration inside the nuxt.config.js, some other tools (like jest) require the traditional approach with .babelrc.

    This plugin gracefully injects your .babelrc into your nuxt configuration allowing you to have the best from both worlds.

    We also support .babelrc.js, babel.config.js, and package.json files.

    Installation

    npm install --save nuxt-babel
    

    Add nuxt-babel to your nuxt.config.js:

    {
      modules: [
        'nuxt-babel',
      ]
    }

    Options

    You can also specify directory containing your babel configuration:

    {
      modules: [
        ['nuxt-babel', { directory: './some/path/' },
      ]
    }

    License

    MIT.

    Install

    npm i nuxt-babel

    DownloadsWeekly Downloads

    1,856

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    4.86 kB

    Total Files

    4

    Last publish

    Collaborators

    • sobolevn