Skip to content

Consider migration to goog.module #2647

@joeyparrish

Description

@joeyparrish

goog.module is now preferred by the compiler over goog.provide. According to internal advice I've just received, goog.module will allow the compiler to check dependencies better, among other things.

We should consider migrating, especially if it does not introduce any compatibility issues. This will probably involve changes to our extern generator.

https://github.com/google/closure-library/wiki/goog.module:-an-ES6-module-like-alternative-to-goog.provide

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions