ampproject / ampproject/amphtml

Support importing AMP from an npm package

Open
#32,110 4 comments 0 reactions 1 assignee Claimed by @gmajoulet View on GitHub
Needs Information Stale Type: Bug WG: infra
Dominant language
JavaScript
Stars
14.9k
Forks
4.1k
PR merge metrics
No merged PRs in 30d

Description

Currently importing from AMP from an npm package is not supported, since the file is not pre-processed before publication.

See example https://github.com/ampproject/amphtml/pull/32076#issuecomment-764916757 and related https://github.com/ampproject/amphtml/pull/32109#discussion_r562182768

/cc @ampproject/wg-infra

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.