ampproject / ampproject/worker-dom

vite2 is not support

Open
#1,088 2 comments 3 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
3.3k
Forks
154
PR merge metrics
No merged PRs in 30d

Description

when build with vite2,

will error with can not use import in no-module script.

Contributor guide

Open the contributing guide

Research direction

Reproduce the Vite 2 build using the `

` case, then trace the build entry points that process this markup. The work is done when the build no longer reports that import cannot be used in a non-module script and the affected case still builds successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, typescript, vite
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.