Skip to content

Slightly looser validation in dev-mode #20974

@cramforce

Description

@cramforce

Allow non-AMP script tags in the JS validator if the development-mode-only attribute is present on the script tag.

This is for development environments that may want to run additional code (e.g. to do hot-reloading on code changes) while otherwise being compatible with AMP tools that do validation.

CC @timneutkens @sebastianbenz

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions