@aligent/babel-preset

1.3.1 • Public • Published

Aligent Babel Config Present

Simply install via npm i -D @aligent/babel-preset

Then add the following to you babel.config.js or .babelrc.json

{
  "presets": ["@aligent/babel-preset"]
}

You can also configure the preset to pass options through to @babel/preset-env

module.exports = {
    presets: [
        [
            '@aligent/babel-preset',
            // same config here will be merge with default and provided to @babel/preset-env
            {
                shippedProposals: true,
                useBuiltIns: 'entry',
                modules: false,
                corejs: '3'
            }
        ]
    ]
};

Update

Once updated the config, run npm test and check inside project too.

  • Update changelog and commit
  • Run npm version patch|minor|major
  • Git push (--tags)
  • npm publish

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.3.1
    9
    • latest

Version History

Package Sidebar

Install

npm i @aligent/babel-preset

Weekly Downloads

21

Version

1.3.1

License

MIT

Unpacked Size

4.17 kB

Total Files

6

Last publish

Collaborators

  • torbjorn.vanheeswijck
  • aligent-bot
  • aligent-danielvanderploeg
  • luke-denton-aligent
  • jarrod.swift