Skip to content

Leverage babel-plugin-minify-dead-code-elimination #181

Closed

Description

@mixonic

#180 introduces https://github.com/chadhietala/babel-plugin-debug-macros for feature flagging. This library will translate feature flags to true false literals, however it will not strip dead code paths.

This project should strip dead code via https://github.com/babel/babili/tree/master/packages/babel-plugin-minify-dead-code-elimination in a manner similar to @chadhietala's PR to Ember: emberjs/ember.js#15043

Activity

  1. rwjblue commented on Dec 18, 2019

    @rwjblue
    Member

    We've removed the feature flagging for MU, so this is no longer an issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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