Skip to content

cuining/babel-preset-next

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

babel preset v7.0

Resources

Stars

Watchers

Forks

Packages

No packages published