Skip to content

[v2] Convert babel config loading to same patterns as rest of site with "onCreateBabelConfig" node api & actions setBabelPlugin and setBabelPreset #3969

@KyleAMathews

Description

@KyleAMathews

@jquense – is there a strong argument for the current behavior? It's surprising when all the defaults presets/plugins disappear.

I think people should be able to extend the default config but not mutate or replace it. Gatsby breaks w/o some of our babel settings.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions