0.5.4 • Published 10 months ago

@langri-sha/babel-preset v0.5.4

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

@langri-sha/babel-preset

This is Babel preset that suitable for targetting modern browsers and runtimes, with support for TypeScript, Emotion and React.

Usage

Install the preset and it's realted dependencies:

npm install -D @babel/core @langri-sha/babel-preset

Add a root Babel configuration:

// babel.config.js
module.exports = {
  presets: ['@langri-sha/babel-preset'],
}

For usage with Webpack and babel-loader:

// webpack.config.js
module.exports = {
  module: {
    rules: [
      {
        test: /\.(c|m)?(t|j)sx?$/,
        loader: 'babel-loader',
      },
    ],
  },
}

See

0.5.4

10 months ago

0.5.3

11 months ago

0.3.0

1 year ago

0.5.0

12 months ago

0.4.1

12 months ago

0.4.0

1 year ago

0.5.2

12 months ago

0.5.1

12 months ago

0.4.2

12 months ago

0.2.5

1 year ago

0.2.4

1 year ago

0.2.3

1 year ago

0.2.1

1 year ago

0.2.2

1 year ago

0.2.0

1 year ago