3.0.2 • Published 10 months ago

@ta-interaktiv/babel-preset-react-project v3.0.2

Weekly downloads
57
License
ISC
Repository
gitlab
Last release
10 months ago

Babel Preset for React Project Development

A simple babel preset for developing React projects using Webpack. Used together with https://gitlab.com/ta-interaktiv/project-templates/react-base and https://www.npmjs.com/package/@ta-interaktiv/webpack-config.

Installation

yarn add @ta-interaktiv/babel-preset-react-project --dev
yarn add react-hot-loader --dev

Add to .babelrc:

{
  "presets": ["@ta-interaktiv/babel-preset-react-project"]
}

Polyfills

Polyfills are not included in this preset. When using @ta-interaktiv/webpack-config, those polyfills should be included using https://polyfill.io/.

Hot-Exporting Main Component

When used together with a fairly recent version of the React Base Project, everything should already have been set up.

Otherwise follow the instructions here from #2 onwards. By default, the React Base should contain this snippet already.

3.0.2

10 months ago

3.0.1

1 year ago

3.0.0

1 year ago

2.1.6

5 years ago

2.1.5

6 years ago

2.1.4

6 years ago

2.1.2

6 years ago

2.1.1

6 years ago

2.1.0

6 years ago

2.0.4

7 years ago

2.0.3

7 years ago

2.0.2

7 years ago

2.0.1

7 years ago

1.3.0

7 years ago

1.2.0

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago

0.1.4

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago