Skip to content
This repository was archived by the owner on Apr 4, 2025. It is now read-only.

refactor(@angular-devkit/build-optimizer): use single pass to wrap enums #147

Merged
merged 1 commit into from
Sep 19, 2017
Merged

refactor(@angular-devkit/build-optimizer): use single pass to wrap enums #147

merged 1 commit into from
Sep 19, 2017

Conversation

clydin
Copy link
Member

@clydin clydin commented Sep 12, 2017

This converts the enum wrapping transformer to use a single pass of the AST and replaces enum declarations inline. It also attempts to reuse existing structure where possible. The enum member declaration finder functions were not modified in this PR.

//cc @filipesilva

@filipesilva
Copy link
Contributor

LGTM, thanks for improving this transformer.

@Brocco Brocco merged commit 8fc9a72 into angular:master Sep 19, 2017
@clydin clydin deleted the refactor-enum-wrapper branch September 19, 2017 17:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants