-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: access document.currentScript at the top level #5118
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Thank you for your contribution! ❤️You can try out this pull request locally by installing Rollup via npm install rollup/rollup#fix/access-document-current-script or load it into the REPL: |
12a7161
to
8c10d5b
Compare
8c10d5b
to
c1bbe1c
Compare
Codecov Report
@@ Coverage Diff @@
## master #5118 +/- ##
=======================================
Coverage 98.94% 98.94%
=======================================
Files 226 226
Lines 8429 8442 +13
Branches 2314 2318 +4
=======================================
+ Hits 8340 8353 +13
Misses 32 32
Partials 57 57
|
This PR has been released as part of rollup@3.29.1. You can test it via |
This PR contains:
Are tests included?
Breaking Changes?
List any relevant issue numbers:
Description
Add a new helper
_documentCurrentScript
for accessing document.currentScirpt at the top level.