Skip to content

add babel #19

@argyleink

Description

@argyleink
{
  "plugins": [
    "@babel/plugin-proposal-class-properties",
    "@babel/plugin-proposal-private-methods",
    "@babel/plugin-proposal-object-rest-spread"
  ]
}
    "@babel/core": "^7.8.0",
    "@babel/plugin-proposal-class-properties": "^7.8.0",
    "@babel/plugin-proposal-object-rest-spread": "^7.8.0",
    "@babel/plugin-proposal-private-methods": "^7.8.0",
    "rollup-plugin-babel": "^4.3.3",

import babel from 'rollup-plugin-babel'

babel() in plugins

Why

i dont always need it, and what it adds is usually aesthetic mostly.. but can be good for modern authoring and transformed bundles (if needed). could just keep this here for reference too..

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions