Socket
Book a DemoInstallSign in
Socket

@mrbuilder/plugin-babel-7

Package Overview
Dependencies
Maintainers
3
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mrbuilder/plugin-babel-7

Tools for developing babel 7 with mrbuilder

latest
npmnpm
Version
4.4.7-alpha.9
Version published
Maintainers
3
Created
Source

This plugin provides babel 7 support to mrbuilder. It allows for configuration via .babelrc or via normal mrbuilder configuration methods. It also provides support for babel to webpack via babel-loader

If your upgrading from babel 6 and have a custom .babelrc try running babel-upgrade to convert your .babelrc. If your using mrbuilders defaults it should "just work".

The default babel configuration:

PropertyTypeDefaultDescription
hotboolfalseTurns hot loading supoprt for hmr usually automatically
testregex/.jsx?$/Webpack module test to transpile
includesarrayOf: string,regex./src,./public,./testWebpack module includes option
useobject{use:{loader:'babel-loader}}Allows for a different babel-loader
<babel_plugin>objectconfigure babel plugins
useDecoratorsbool or 'legacy'legacyUse decorators. If its legacy class-properties

FAQs

Package last updated on 25 Oct 2021

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