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

babel-preset-next

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-preset-next

babel preset used by myself

  • 1.4.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

babel-preset-next

This package includes the Babel preset 7.0(more detail)

⚠️

  • babel-loader 8.0 +
  • @babel/core
  • uglifyjs-webpack-plugin v1.0.0 or babel-minify (options) the default target browser is ie 9, if you want to use high level browser like chrome 50, you should upgrade your webpack to v4.0.0 or use the latest uglifyjs-webpack-plugin version to replace webpack.optimize.UglifyJsPlugin

Usage

create a file named .babelrc with following contents in the root folder of your project:

{
  "presets": ["next"]
}

Options

targets

{ [string]: number | string }, defaults to { ie: 9 }

debug

boolean, defaults to false

FAQs

Package last updated on 19 Jun 2020

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