3.1.0 • Published 3 years ago

@averjs/babel-preset-app v3.1.0

Weekly downloads
75
License
MIT
Repository
github
Last release
3 years ago

@averjs/babel-preset-app

Be aware that this plugin is designed to be used with averjs and there is no guarantee to work anywhere else.

Usage

This is the default babel preset for averjs. It includes the following plugins:

  • @babel/plugin-syntax-dynamic-import
  • @babel/plugin-proposal-decorators
  • @babel/plugin-proposal-class-properties
  • @babel/plugin-transform-classes

The default behavior for polyfilling is to use core-js 2. This is also the recommended and preinstalled version for now. We do have the plugin prepared for version 3 usage and if you would like to use it, jump to the core-js 3 section.

core-js 3

First install the following packages. Be aware that those should be installed in the root of your project.

yarn add --dev core-js@3 @babel/runtime-corejs3

The last thing to do is to set the corejs version in the babel config param.

export default {
  webpack: {
    babel: {
      corejs: 3
    }
  }
}
3.0.0

3 years ago

3.1.0

3 years ago

3.0.0-7

3 years ago

3.0.0-6

3 years ago

3.0.0-5

3 years ago

3.0.0-3

3 years ago

3.0.0-4

3 years ago

3.0.0-2

3 years ago

2.6.1

3 years ago

2.6.0

3 years ago

2.6.3

3 years ago

2.6.2

3 years ago

3.0.0-1

3 years ago

3.0.0-0

3 years ago

2.5.2

3 years ago

2.5.1

3 years ago

2.5.0

3 years ago

2.4.7

3 years ago

2.4.6

3 years ago

2.4.5

3 years ago

2.4.3

3 years ago

2.4.4

3 years ago

2.4.1

3 years ago

2.4.0

3 years ago

2.4.2

3 years ago

2.3.4

4 years ago

2.3.3

4 years ago

2.3.2

4 years ago

2.3.1

4 years ago

2.3.0

4 years ago

2.2.1

4 years ago

2.2.0

4 years ago

2.1.5

4 years ago

2.1.4

4 years ago

2.1.3

4 years ago

2.1.2

4 years ago

2.1.1

4 years ago

2.1.0

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

2.0.0-18

4 years ago

2.0.0-17

4 years ago

2.0.0-16

4 years ago

2.0.0-15

4 years ago

2.0.0-14

4 years ago

2.0.0-13

4 years ago

2.0.0-12

4 years ago

2.0.0-11

4 years ago

2.0.0-10

4 years ago

2.0.0-9

4 years ago

2.0.0-8

4 years ago

2.0.0-7

4 years ago

2.0.0-6

4 years ago

2.0.0-5

4 years ago

2.0.0-4

4 years ago

2.0.0-3

5 years ago

2.0.0-2

5 years ago

2.0.0-1

5 years ago

2.0.0-0

5 years ago

1.5.3

5 years ago

1.5.2

5 years ago

1.5.1

5 years ago

1.4.0

5 years ago

1.3.0

5 years ago

1.2.1

5 years ago

1.2.0

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.35

5 years ago

1.0.34

5 years ago

1.0.33

5 years ago

1.0.29

5 years ago

1.0.28

5 years ago

1.0.24

5 years ago

1.0.23

5 years ago

1.0.6

5 years ago