id stringlengths 16 145 | text stringlengths 1 179k | title stringclasses 1
value |
|---|---|---|
freeCodeCamp/34779_206_0.txt | None yet
Milestone | |
freeCodeCamp/can-i-send-a-query-string-in-a-file-url5_0_0.txt | Loading
× Sorry to interrupt | |
freeCodeCamp/freeCodeCamp_3_0.txt | [ The freeCodeCamp Forum ](/)
# [ 💡 Verify your trophy from Microsoft- Solution ](/t/verify-your-trophy-
from-microsoft-solution/633660)
[ C# ](/c/c-sharp/588)
[ zaira_h ](https://forum.freecodecamp.org/u/zaira_h) August 29, 2023, 1:45pm
1

 December
26, 2023, 3:35am 11
i’ve completed all but not getting trophy
please do something
i’ve public every needed thing before an year ago, its... | |
freeCodeCamp/34779_62_0.txt | I think it should only apply to the first pipeline, and should be stripped off
afterward.
---
All reactions
Sorry, something went wrong. | |
freeCodeCamp/23291_60_0.txt | * User opens app with hash 1234.
* User loads ` app.js?1234 ` and ` chunk1.js?1234 `
* User leaves the app open
* You publish an update with hash 5678
* User requests another chunk: ` chunk2.js?1234 `
* App crashes because ` chunk2.js?1234 ` (loaded after the update) isn't consistent with ` app.js?1234 `... | |
freeCodeCamp/23291_83_0.txt | Development
No branches or pull requests | |
freeCodeCamp/34779_180_0.txt | mischnic mentioned this issue Oct 10, 2019
Parcel ignores resources declared in JS template literals #3553 | |
freeCodeCamp/freeCodeCamp_0_0.txt | [ The freeCodeCamp Forum ](/)
# [ The type="module" in html file, what's for? ](/t/the-type-module-in-html-
file-whats-for/488865)
[ JavaScript ](/c/javascript/421)
[ zak ](https://forum.freecodecamp.org/u/zak) December 15, 2021, 10:10pm 1
i’d like to know how the type=“module” in html’s script tag is needed? H... | |
freeCodeCamp/34779_8_0.txt | Manage code changes
* Issues | |
freeCodeCamp/34779_15_0.txt | * Open Source
* GitHub Sponsors | |
freeCodeCamp/34779_111_0.txt | jamiebuilds commented Sep 22, 2019 •
edited | |
freeCodeCamp/23291_27_0.txt | Sign up
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.
You switched accounts on another tab or window. Reload to refresh your
session. Dismiss alert | |
freeCodeCamp/34779_11_0.txt | * All features
* Documentation
* GitHub Skills
* Blog
* Solutions | |
freeCodeCamp/34779_85_0.txt | devongovett commented Sep 2, 2019
That's interesting feedback @jakearchibald ! One reason we were thinking
about query parameters was to avoid making ` as ` "special". It's just an
option that is passed to transformers, like other query params (e.g. image
width/height). It could be called ` type ` or ` banana ` fo... | |
freeCodeCamp/23291_62_0.txt | Sorry, something went wrong.
Copy link | |
freeCodeCamp/34779_114_0.txt | ## Example
import "image-data~./file.png" // runs optimizer-png, but not transform-png
import "raw-source~http://example.com/script.js" // doesn't run any optimizers or transforms
{
"transforms": {
"*.js": ["@parcel/transform-babel"],
"*.png": ["@parcel/transform-... | |
freeCodeCamp/34779_79_0.txt | The ` as-text ` scheme is invalid in module identifiers, so it's obvious
something special is happening. Without the transform, this will fail at the
parse stage.
import text from './whatever.js/text'; | |
freeCodeCamp/34779_28_0.txt | {{ message }}
parcel-bundler / parcel Public | |
freeCodeCamp/34779_140_0.txt | Copy link
Member | |
freeCodeCamp/34779_161_0.txt | Member
### | |
freeCodeCamp/23291_75_0.txt | Copy link
### | |
freeCodeCamp/578729_8_0.txt | The position of query parameters don’t generally matter, so you could do
something like the following.
image 841×310 21.1 KB | |
freeCodeCamp/34779_118_0.txt | ###
Morgul commented Sep 22, 2019 | |
freeCodeCamp/23291_12_0.txt | For
* Enterprise
* Teams
* Startups
* Education | |
freeCodeCamp/23291_68_0.txt | eshchapov commented Oct 2, 2019
> * User opens app with hash 1234.
> * User loads ` app.js?1234 ` and ` chunk1.js?1234 `
> * User leaves the app open
> * You publish an update with hash 5678
> * User requests another chunk: ` chunk2.js?1234 `
> * App crashes because ` chunk2.js?1234 ` (loaded after the u... | |
freeCodeCamp/23291_23_0.txt | Cancel Submit feedback
# Saved searches | |
freeCodeCamp/23291_18_0.txt | * Topics
* Trending
* Collections
* Pricing | |
freeCodeCamp/34779_179_0.txt | Add support for generating TypeScript declarations, and named pipelines #3613
Merged | |
freeCodeCamp/34779_121_0.txt | Simple, easily understood, not bundler specific, and supported in all
languages with comments. (Syntax obviously up for debate, that was with about
10 seconds of consideration.)
---
👍 1 mathieucaroff reacted with thumbs up emoji
All reactions | |
freeCodeCamp/34779_108_0.txt | All reactions
* 👍 1 reaction | |
freeCodeCamp/23291_2_0.txt | * Product
* Actions | |
freeCodeCamp/23291_74_0.txt | Search: ensure translations are available for lazy-loaded payloads
Automattic/jetpack#20926
Merged | |
freeCodeCamp/34779_173_0.txt | * 👍 2 reactions
Sorry, something went wrong. | |
freeCodeCamp/23291_52_0.txt | ###
sokra commented Apr 14, 2016 | |
freeCodeCamp/23291_61_0.txt | All reactions
* 👍 8 reactions
* ❤️ 3 reactions
* 🚀 2 reactions | |
freeCodeCamp/34779_86_0.txt | Sorry, something went wrong.
devongovett mentioned this issue Sep 4, 2019 | |
freeCodeCamp/34779_194_0.txt | * 👍 7 reactions
Sorry, something went wrong. | |
freeCodeCamp/34779_10_0.txt | Collaborate outside of code
Explore | |
freeCodeCamp/23291_50_0.txt | * 👍 15 reactions
* ❤️ 4 reactions
Sorry, something went wrong. | |
freeCodeCamp/34779_156_0.txt | ###
jamiebuilds commented Sep 24, 2019 | |
freeCodeCamp/23291_6_0.txt | Instant dev environments
* Copilot | |
freeCodeCamp/34779_48_0.txt |
import MyComponent from './MyComponent.js';
import MyComponentSrc from './MyComponent.js.__raw';
import MyComponentPropTypes from './MyComponent.js.__react-types';
Parcel could split the module specifier like it would have to with query
parameters and use the parts before the special extension to... | |
freeCodeCamp/34779_149_0.txt | It comes down to whether build tools should behave like JS or CSS. In JS, if
you call an unrecognised function, it throws. In CSS, if you set an
unrecognised property, it's a no-op.
---
👍 1 jamiebuilds reacted with thumbs up emoji
All reactions | |
freeCodeCamp/34779_130_0.txt | > I still think query params are by far the best option here, even with the
> concerns raised.
I strongly disagree with that. We already should be supporting query
parameters for other purposes, if someone specifies a file `
https://example.com/image.png?width=100&height=100 ` then we should be
respecting that and fe... | |
freeCodeCamp/34779_107_0.txt | * Does the png optimizer run before you get the image data?
* Should the ` *.png ` match ` .png.img-data ` ?
* Should png transforms/optimizers be run at all? Maybe it makes sense in this case but if you were importing ` .js.raw-source ` would you want Babel to run first? (Probably not)
I’m not sure we can co... | |
freeCodeCamp/23291_5_0.txt | Find and fix vulnerabilities
* Codespaces | |
freeCodeCamp/23291_48_0.txt | ###
sokra commented Apr 14, 2016 | |
freeCodeCamp/34779_4_0.txt | Host and manage packages
* Security | |
freeCodeCamp/34779_5_0.txt | Find and fix vulnerabilities
* Codespaces | |
freeCodeCamp/34779_81_0.txt | I'm not sure if files within ` node_modules ` should support this syntax.
However, I think files outside of ` node_modules ` should be able to use it on
files within ` node_modules ` . Eg:
import text from 'whatever-package?as=text';
---
👍 5 reosablo, mischnic, justinfagnani, Janpot, and ac... | |
freeCodeCamp/34779_188_0.txt | ###
devongovett commented Nov 20, 2019 | |
freeCodeCamp/34779_71_0.txt | * 👍 1 reaction
Sorry, something went wrong. | |
freeCodeCamp/34779_103_0.txt | edited
For that specific case I don’t think we’d encourage the use of optimizers via
file extension vs Parcel’s config format: | |
freeCodeCamp/578729_12_0.txt | Yeah, unfortunately I understand everything you’re saying, it’s just the way
NetSuite works it’s a little different than your typical use case because you
have to target a specific script running on their side, which is specified via
their own URL parameters, which you can then expand upon. So while I agree,
it’s not r... | |
freeCodeCamp/23291_55_0.txt | ###
mc-zone commented Apr 15, 2016 • | |
freeCodeCamp/23291_86_0.txt | * Terms
* Privacy
* Security
* Status
* Docs
* Contact
* Manage cookies
* Do not share my personal information
You can’t perform that action at this time. | |
freeCodeCamp/34779_46_0.txt | ## Drawbacks
* Since this solution is based on ESM it makes it pretty JavaScript centric. Some other languages and module formats support module specifiers as URLs, but what about the ones that don't? Parcel will either end up encouraging developers to write non standard code that only works because it's run with P... | |
freeCodeCamp/34779_84_0.txt | Member
### | |
freeCodeCamp/34779_68_0.txt | It would also be pretty nice if config like this worked:
{
"transforms": {
"*.png": ["parcel-transformer-png"],
"**?as=url": ["parcel-transformer-js-url"],
"**?as=base64": ["parcel-transformer-js-base64"]
}
} | |
freeCodeCamp/34779_102_0.txt | ###
jamiebuilds commented Sep 22, 2019 • | |
freeCodeCamp/23291_39_0.txt | Member
### | |
freeCodeCamp/34779_185_0.txt | Sorry, something went wrong.
Banou26 mentioned this issue Nov 7, 2019 | |
freeCodeCamp/23291_14_0.txt | Resources
* Learning Pathways
* White papers, Ebooks, Webinars
* Customer Stories
* Partners | |
freeCodeCamp/578729_3_0.txt | Thanks in advance!
image 778×412 19.7 KB | |
freeCodeCamp/34779_89_0.txt | ###
jamiebuilds commented Sep 4, 2019 | |
freeCodeCamp/34779_132_0.txt |
import "./image.png"
// TypeError: 'image/png' is not a valid JavaScript MIME type.
import "./file.js?as=raw-source"
// No Error
Module loading is incredibly complicated today because of a whole bunch of
early decisions that were not all that well thought out. Having been one of
the peop... | |
freeCodeCamp/34779_198_0.txt | 5 tasks
DeMoorJasper mentioned this issue Mar 15, 2020 | |
freeCodeCamp/34779_172_0.txt | I am sort of intrigued by the idea of protocol again with the combination of
viewers. Using a protocol like ` view-*: ` , could sort of blend the line
between standard and new. ` view-source:./foo.js `
` view-data:./butterfly.png ` It would be nice to also be able to select if
optimizers are ran or not.
---
�... | |
freeCodeCamp/34779_1_0.txt | Toggle navigation
Sign in | |
freeCodeCamp/34779_64_0.txt | ###
devongovett commented Aug 30, 2019 | |
freeCodeCamp/34779_210_0.txt | ## Footer
© 2024 GitHub, Inc. | |
freeCodeCamp/23291_19_0.txt | Search or jump to...
# Search code, repositories, users, issues, pull requests... | |
freeCodeCamp/23291_25_0.txt | Query
To see all available qualifiers, see our documentation . | |
freeCodeCamp/34779_201_0.txt | [T-6] Image transformer #4881
Merged | |
freeCodeCamp/can-i-send-a-query-string-in-a-file-url5_1_0.txt | CSS Error
Refresh | |
freeCodeCamp/34779_113_0.txt | Some ideas on syntaxes other than ` loader! ` that don't conflict with the URL
standard or what I've seen in any programming language import specifiers, and
which will fail to load if you try loading them outside Parcel:
import "viewer~specifier"
import "viewer^specifier"
import "viewer|specifier... | |
freeCodeCamp/23291_10_0.txt | Collaborate outside of code
Explore | |
freeCodeCamp/34779_209_0.txt | Image transformer parcel-bundler/parcel
9 participants | |
freeCodeCamp/34779_25_0.txt | Query
To see all available qualifiers, see our documentation . | |
freeCodeCamp/34779_57_0.txt | Copy link
Member | |
freeCodeCamp/23291_70_0.txt | Copy link
### | |
freeCodeCamp/34779_19_0.txt | Search or jump to...
# Search code, repositories, users, issues, pull requests... | |
freeCodeCamp/34779_184_0.txt | All reactions
* 👍 1 reaction | |
freeCodeCamp/34779_211_0.txt | ### Footer navigation
* Terms
* Privacy
* Security
* Status
* Docs
* Contact
* Manage cookies
* Do not share my personal information | |
freeCodeCamp/34779_202_0.txt | 3 tasks
DeMoorJasper closed this as completed in #4881 Aug 3, 2020 | |
freeCodeCamp/freeCodeCamp_1_0.txt | [ The freeCodeCamp Forum ](/)
# [ About the Code Feedback category ](/t/about-the-code-feedback-
category/53685)
[ Code Feedback ](/c/project-feedback/409)
[ QuincyLarson ](https://forum.freecodecamp.org/u/QuincyLarson) November 9,
2016, 10:32pm 1
Get feedback on projects you’ve built. Be sure to use a descript... | |
freeCodeCamp/34779_6_0.txt | Instant dev environments
* Copilot | |
freeCodeCamp/34779_77_0.txt | My opinions here may not fit with what Parcel is trying to achieve, so feel
free to ignore. I don't think build systems should hide. If a file is to be
transformed in an uncommon way, it should be obvious from the import that
something special is happening.
import text from './whatever.js?as=text'; | |
freeCodeCamp/23291_45_0.txt |
http://cdn.com/path/output/1.page-chunk.js?ver=c5434xxxxxxx
Anyone have any experience on this? Thanks and looking forward to your help. 😦
---
The text was updated successfully, but these errors were encountered: | |
freeCodeCamp/34779_128_0.txt | Copy link
Member | |
freeCodeCamp/34779_197_0.txt | A way to ignore prefix/suffix in module ID, then resolve the remaining ID as
usual microsoft/TypeScript#37319
Open | |
freeCodeCamp/34779_16_0.txt | Fund open source developers
* The ReadME Project | |
freeCodeCamp/23291_67_0.txt | Copy link
### | |
freeCodeCamp/34779_150_0.txt | * 👍 1 reaction
Sorry, something went wrong. | |
freeCodeCamp/23291_9_0.txt | Plan and track work
* Discussions | |
freeCodeCamp/34779_49_0.txt | ## Open Questions
* ESM treats module specifiers as URLs but CommonJS does not. Should Parcel only support this feature on module specifiers that are known to be URLs or should it be less strict?
* Should this be supported in ` node_modules ` or only source code?
* What happens when the configured transformer... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.