Skip to content

getMode().development missing from *.mjs #34364

@dreamofabear

Description

@dreamofabear

What's the issue?

Looks like getMode().development is missing from *.mjs binaries.

This results in features like AMP story's preview mode being inaccessible on pages that use *.mjs binaries.

How do we reproduce the issue?

Search for "development" in:

The origin URL (js) triggers AMP story's preview mode, but the CDN (mjs) doesn't:

What browsers are affected?

All browsers.

Which AMP version is affected?

Not sure if this is a recent regression in MJS build.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions