Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nuxt-babel

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nuxt-babel

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

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
388
decreased by-11.82%
Maintainers
1
Weekly downloads
 
Created
Source

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.

Keywords

FAQs

Package last updated on 09 Mar 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc