-
Notifications
You must be signed in to change notification settings - Fork 10
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
feature/issue 1268 import map and attribute polyfill configuration #1269
Merged
thescientist13
merged 13 commits into
release/0.30.0
from
feature/issue-1268-import-map-and-attribute-polyfill-configuration
Sep 5, 2024
Merged
feature/issue 1268 import map and attribute polyfill configuration #1269
thescientist13
merged 13 commits into
release/0.30.0
from
feature/issue-1268-import-map-and-attribute-polyfill-configuration
Sep 5, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
thescientist13
added
documentation
Greenwood specific docs
CLI
breaking
feature
New feature or request
labels
Aug 24, 2024
This was referenced Aug 27, 2024
thescientist13
commented
Aug 28, 2024
@@ -28,6 +31,40 @@ class StandardJavaScriptResource extends ResourceInterface { | |||
} | |||
}); | |||
} | |||
|
|||
async shouldPreIntercept(url) { | |||
return url.protocol === 'file:' && this.extensions.includes(url.pathname.split('.').pop()); |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
3 tasks
This was referenced Sep 4, 2024
thescientist13
force-pushed
the
feature/issue-1268-import-map-and-attribute-polyfill-configuration
branch
from
September 4, 2024 13:24
d28920a
to
5516b76
Compare
thescientist13
deleted the
feature/issue-1268-import-map-and-attribute-polyfill-configuration
branch
September 5, 2024 17:37
3 tasks
thescientist13
added a commit
that referenced
this pull request
Nov 2, 2024
…1269) * import map polyfill config flag * import attributes polyfill config option * import attributes demo * develop test cases for import maps and attributes for development * import attributes polyfill config serve test cases * polyfills configuration error test cases * bundle polyfilled import attributes for the browser * polyfills configuration docs and import attributes call outs * misc refactoring * add acorn-import-attributes as a CLI dependency * refine pre-intercepting logic to include all JS resource types * remove demo code * more robust bundling and serve test case
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Related Issue
resolves #1268
Summary of Changes
TODO
serve
now, will this work on netlify / vercel???develop
+serve
test cases)develop
+serve
test cases)text/css
in rollup.config.js, think we can remove make this dynamic to the typeSec-Fetch-Dest
since I don't think it actually does anythingFollow Up Issues
type="module-shim
,type="module"
,es-module-shims.js
,module-shim
<link>
tag within a shadow root? - `<link>` tags in Shadow DOM #1276