8000 GitHub - wemake-services/nuxt-babel: Use normal .babelrc file with your Nuxt app
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Jun 19, 2021. It is now read-only.

wemake-services/nuxt-babel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nuxt-babel

Deprecated: Nuxt now supports babelrc natively

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.

About

Use normal .babelrc file with your Nuxt app

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  
0