9.0.0-alpha.13 • Published 8 months ago

flamingo-carotene-babel v9.0.0-alpha.13

Weekly downloads
128
License
OSL-3.0
Repository
github
Last release
8 months ago

Module flamingo-carotene-babel

The babel module injects the babel loader into the webpack config of the Flamingo Carotene module.

When you want to write ES code that needs to be transpiled to use it in the client, this tiny module helps injecting the corresponding loader.

How to use

npm i -D flamingo-carotene-babel

The babel module will listen to the following commands: none.

Every config supported by the used babel version can be used with your custom babel config.

When there is no babel config available, this module provides the babel-preset-env as the default preset, so that you can use it right away.

Babel will respond to the browserslist config.

How it works

The module will check if there is a babel config available. When found it will look into the compiled webpack config for a rule with a test of \.js$ (exact match only for now) and inject its loader config.

As babel config, the following configs will be found:

  • babel property inside the package.json
  • files in the project root with these names: .babelrc, .babelrc.js, babel.config.js
9.0.0-alpha.13

8 months ago

9.0.0-alpha.12

11 months ago

9.0.0-alpha.0

1 year ago

7.1.1

1 year ago

8.1.0

1 year ago

8.0.0

1 year ago

8.1.0-alpha.0

1 year ago

7.0.0

2 years ago

7.0.4

2 years ago

7.0.7

2 years ago

6.7.29

2 years ago

6.7.28

3 years ago

6.7.25

3 years ago

6.7.24

3 years ago

6.7.23

3 years ago

6.7.16

3 years ago

6.7.10

3 years ago

6.7.8

3 years ago

6.7.4

3 years ago

6.7.2

4 years ago

6.7.0

4 years ago

6.5.0

4 years ago

6.4.0

4 years ago

6.3.6

4 years ago

6.3.1

4 years ago

6.3.0

4 years ago

6.2.17

4 years ago

6.2.16

5 years ago

6.2.15

5 years ago

6.2.13

5 years ago

6.2.1

5 years ago

6.2.0

5 years ago