id
stringlengths
16
145
text
stringlengths
1
179k
title
stringclasses
1 value
freeCodeCamp/freeCodeCamp_3_2.txt
-trophy- error/633618/68) [ [COLLATION]: Microsoft C# Username/Trophy Error ](https://forum.freecodecamp.org/t/collation-microsoft-c-username-trophy- error/633618/29) [ Write Your First Code Using C# - Trophy - Write Your First Code Using C# ](https://forum.freecodecamp.org/t/write-your-first-code-using-c-trophy-writ...
freeCodeCamp/34779_129_0.txt
### jamiebuilds commented Sep 23, 2019
freeCodeCamp/34779_47_0.txt
## Alternatives One alternative would be to make a change to Parcel's configuration. I do like how simple Parcel's configuration is at the moment, but I could imagine this not working perfectly for all cases. I'm not aware of any of these cases at the moment, but that's what the RFC is for. If no one brings up a comp...
freeCodeCamp/23291_20_0.txt
Search Clear
freeCodeCamp/34779_55_0.txt
I think we shouldn't encourage publishing packages with this (currently) non standard code, at least in the beginning. --- 👍 3 DeMoorJasper, devongovett, and kevincox reacted with thumbs up emoji All reactions
freeCodeCamp/23291_1_0.txt
Toggle navigation Sign in
freeCodeCamp/34779_78_0.txt
The above doesn't really look special. It's just a regular URL. If the above is passed to a system that doesn't recognise the 'as' query parameter, it'll interpret the module as JavaScript, which feels like a bad fallback. If the transform doesn't have an 'acceptable' fallback (if a file fails to minify, the result st...
freeCodeCamp/34779_37_0.txt
Labels ✨ Parcel 2 💬 RFC Request For Comments
freeCodeCamp/34779_162_0.txt
devongovett commented Sep 24, 2019 > If they use something like raw-source~file.js it will fail immediately every > time.
freeCodeCamp/34779_147_0.txt
Something came up at TPAC that feels relevant, but sorry if this is just noise: import obj from 'https://example.com/whatever.json';
freeCodeCamp/34779_126_0.txt
The fallback issue when switching tools is valid, but honestly not that bad I think. You'll already have other problems in anything complex. There are many cases where behavior of imports relies on specific configuration. ` import './foo.png' ` in a tool that isn't configured to load PNGs, and it'll either try to proce...
freeCodeCamp/34779_20_0.txt
Search Clear
freeCodeCamp/34779_160_0.txt
Sorry, something went wrong. Copy link
freeCodeCamp/34779_190_0.txt
mischnic mentioned this issue Nov 21, 2019 Suggestion: myurl?static should tell parcel to copy the file as-is #1084
freeCodeCamp/34779_59_0.txt
edited > 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?
freeCodeCamp/34779_138_0.txt
devongovett commented Sep 23, 2019 > By assigning a query parameter, we're changing the meaning of query > parameters. What if someone actually means to specify a ?as= query param? We > would have to strip it out because we will inherently have a different > meaning than they give it in their API.
freeCodeCamp/23291_43_0.txt
# QUESTION : Is there any way I can use query string for chunk files? I mean, for example :
freeCodeCamp/34779_83_0.txt
Sorry, something went wrong. Copy link
freeCodeCamp/34779_67_0.txt
### devongovett commented Aug 30, 2019
freeCodeCamp/23291_64_0.txt
mc-zone commented Apr 15, 2016 I see. I understand now. Thanks again. 👍 --- All reactions
freeCodeCamp/23291_8_0.txt
Manage code changes * Issues
freeCodeCamp/23291_85_0.txt
© 2024 GitHub, Inc. ### Footer navigation
freeCodeCamp/34779_203_0.txt
Sign up for free to join this conversation on GitHub . Already have an account? Sign in to comment Assignees
freeCodeCamp/23291_46_0.txt
All reactions bebraw added the question label Apr 13, 2016
freeCodeCamp/23291_11_0.txt
* All features * Documentation * GitHub Skills * Blog * Solutions
freeCodeCamp/578729_4_0.txt
If I change the first ampersand to a question mark the params tab populates correctly, but the call fails. image 1036×430 26.1 KB
freeCodeCamp/34779_21_0.txt
Search syntax tips # Provide feedback
freeCodeCamp/34779_212_0.txt
You can’t perform that action at this time.
freeCodeCamp/23291_81_0.txt
Projects None yet
freeCodeCamp/34779_80_0.txt
This treats ` whatever.js ` as a directory, when it isn't. Transforms would define what a file could 'contain'. Without the transform, this will fail at the fetch stage. That might be too late, and the special nature of the import may not be obvious enough. > * Should this be supported in ` node_modules ` or only so...
freeCodeCamp/23291_53_0.txt
But better use the hash in filename and use no query parameter. --- All reactions Sorry, something went wrong.
freeCodeCamp/34779_135_0.txt
All reactions * 👍 3 reactions
freeCodeCamp/34779_159_0.txt
> If the server changes what the query params it supports mean, then it'll > break. Exactly, and it will probably break quietly or silently which is why well designed APIs will intentionally make it loudly fail when someone passes a deprecated/removed query param. We don’t have the ability to do that, if someone uses...
freeCodeCamp/23291_37_0.txt
Labels question
freeCodeCamp/578729_7_0.txt
It looks like you will need to reduce the base URL to the hostname, and then include the script, deploy and compid as proper query parameters. As far as I’m aware, Postman only really reads the variables when the request is run, which is why it can’t tell if it already includes the question mark.
freeCodeCamp/34779_99_0.txt
* Optimise image data * Data metadata for image (width, height, file size etc) …would I be able to do:
freeCodeCamp/34779_100_0.txt
import data from "./file.png.img-opt.img-data"; --- All reactions Sorry, something went wrong.
freeCodeCamp/34779_73_0.txt
rtsao commented Aug 30, 2019 • edited
freeCodeCamp/578729_9_0.txt
It will try and put an equals sign on the end of the URL, but you can just delete that manually, and it will just read the baseParams as a string. image 737×170 10 KB
freeCodeCamp/34779_13_0.txt
By Solution * CI/CD & Automation * DevOps * DevSecOps
freeCodeCamp/34779_17_0.txt
GitHub community articles Repositories
freeCodeCamp/34779_69_0.txt
Currently, that wouldn't work - for a PNG file, only the ` .png ` pipeline would run, and not the url or base64 pipeline. It could be made to work if you configured the order differently: { "transforms": { "**?as=url": ["...", "parcel-transformer-js-url"], "**?as=base64": ["...", "p...
freeCodeCamp/34779_152_0.txt
### devongovett commented Sep 24, 2019
freeCodeCamp/34779_163_0.txt
Yup, and they'll likely have no recourse but to change their code, thus making it incompatible between tools. At least with query params there is some chance of other tools implementing them. I really don't want to be in the business of inventing syntax with Parcel. --- All reactions Sorry, something went wrong...
freeCodeCamp/23291_73_0.txt
Sorry, something went wrong. kangzj mentioned this issue Sep 19, 2021
freeCodeCamp/578729_1_0.txt
🌱 Just Getting Started variables
freeCodeCamp/34779_23_0.txt
Cancel Submit feedback # Saved searches
freeCodeCamp/578729_0_0.txt
Postman Community # Query params in variable
freeCodeCamp/34779_141_0.txt
### jamiebuilds commented Sep 24, 2019
freeCodeCamp/23291_28_0.txt
{{ message }} webpack / webpack Public
freeCodeCamp/578729_5_0.txt
michaelderekjones (Mike Jones) February 20, 2024, 3:52pm 2 The ? indicates the start of the query string.
freeCodeCamp/34779_137_0.txt
Member ###
freeCodeCamp/23291_17_0.txt
GitHub community articles Repositories
freeCodeCamp/23291_38_0.txt
## Comments Copy link
freeCodeCamp/34779_90_0.txt
There's a good point made that "falling back" to JavaScript when ` ?as=text ` is not supported, is actually worse than not resolving to anything. If you're going to fail, fail early. A couple constraints: * It needs to be specified as part of a "URL" (or rather a string-based module specifier), we can't rely on add...
freeCodeCamp/34779_155_0.txt
Copy link Member
freeCodeCamp/34779_165_0.txt
### devongovett commented Sep 24, 2019
freeCodeCamp/23291_49_0.txt
path: outputDir, chunkFilename: "[id].[name].js?ver=[chunkhash]" --- 👍 15 vedmant, onpubcom, lecajer, okunishinishi, f642628821, usamaejaz, weimengxi, d9k, atellmer, EgorGruzdev, and 5 more reacted with thumbs up emoji ❤️ 4 d9k, ZacxDev, thecatontheflat, and VitorLuizC reacted with hear...
freeCodeCamp/578729_13_0.txt
system (system) Closed March 21, 2024, 4:40pm 4 This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
freeCodeCamp/34779_175_0.txt
Open mischnic mentioned this issue Oct 5, 2019
freeCodeCamp/34779_54_0.txt
mischnic commented Aug 30, 2019 > Should this be supported in ` node_modules `
freeCodeCamp/34779_151_0.txt
Copy link Member
freeCodeCamp/34779_3_0.txt
Automate any workflow * Packages
freeCodeCamp/578729_2_0.txt
cpolanish (Christopher Polanish) February 20, 2024, 2:42pm 1 I’ve been searching for a while but haven’t found an answer. Hoping it’s something simple. We use NetSuite, and in trying to interact with NetSuite I have a URL that already has query params on it, i.e. https://######.app.netsuite.com?script=####&deploy=1...
freeCodeCamp/23291_21_0.txt
Search syntax tips # Provide feedback
freeCodeCamp/34779_29_0.txt
* * Notifications * Fork 2.3k * Star 43.1k * Code * Issues 644 * Pull requests 103 * Discussions * Actions * Projects 0 * Security * Insights
freeCodeCamp/34779_88_0.txt
Copy link Member
freeCodeCamp/34779_95_0.txt
Copy link ###
freeCodeCamp/34779_7_0.txt
Write better code with AI * Code review
freeCodeCamp/34779_169_0.txt
Other tools could also implement a ` viewer~specifier ` syntax. That is not limiting. But we need to design something that would get more consensus, which query params will not. There’s still always the possibility that a standards body will want to get involved here, there’s been talks about having “loaders” for year...
freeCodeCamp/23291_41_0.txt
require.ensure([],function(require){ let Page1 = require('./page-1'); let Page2 = require('./page-2'); //... },'page-chunk') When I want to refresh the broswer cache after I changed code and rebuild, I use ` chunkhash ` at config file and make chunks have a new flie name:
freeCodeCamp/freeCodeCamp_4_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 ![:trophy:](https://emoji.discourse-cdn.com/twitter/trophy.png?v=12) ![:...
freeCodeCamp/34779_50_0.txt
cc @devongovett @wbinnssmith @jamiebuilds --- The text was updated successfully, but these errors were encountered: 👍 5 mathieutu, kevincox, nckcol, cseas, and acton-bell reacted with thumbs up emoji 🎉 6 wbinnssmith, gorakong, DeMoorJasper, mischnic, Ansimorph, and TixieSalander reacted with hooray...
freeCodeCamp/34779_24_0.txt
## Use saved searches to filter your results more quickly Name
freeCodeCamp/34779_75_0.txt
Sorry, something went wrong. Copy link
freeCodeCamp/34779_134_0.txt
* You cannot solve B by solving A. Passing query params is not enough to modify the pipeline. * You can solve A by solving B. Modifying the pipeline can modify the query params as it goes. If you solve A before you solve B, you will have to support two things. But if you solve B and A at the same time, you c...
freeCodeCamp/23291_79_0.txt
Assignees No one assigned
freeCodeCamp/34779_40_0.txt
padmaia commented Aug 29, 2019 ## Problem Statement
freeCodeCamp/34779_42_0.txt
One downside to this approach is that the detail that you are using webpack leaks into your source code. Ideally this could be done in a more bundler agnostic way. ## Proposed Solution: Import Query Params
freeCodeCamp/34779_58_0.txt
### devongovett commented Aug 30, 2019 •
freeCodeCamp/578729_14_0.txt
* Home * Categories * FAQ/Guidelines * Terms of Service * Privacy Policy Powered by Discourse , best viewed with JavaScript enabled
freeCodeCamp/34779_56_0.txt
* 👍 3 reactions Sorry, something went wrong.
freeCodeCamp/34779_158_0.txt
> Servers can implement an as parameter today and return different things if > they want. Not sure why parcel is any different. Just pretend transformer > plugins are servers. If the server changes what the query params it supports > mean, then it'll break. Except Parcel and the server can conflict. If my server want...
freeCodeCamp/34779_192_0.txt
### svr93 commented Jan 8, 2020
freeCodeCamp/34779_207_0.txt
No milestone Development
freeCodeCamp/freeCodeCamp_3_4.txt
e ](https://www.discourse.org) , best viewed with JavaScript enabled
freeCodeCamp/23291_33_0.txt
Already on GitHub? Sign in to your account Jump to bottom
freeCodeCamp/23291_57_0.txt
Sorry, something went wrong. mc-zone closed this as completed Apr 15, 2016
freeCodeCamp/34779_154_0.txt
` img.png?width=100&height=100 ` doesn't affect resolution, but transformation. In this case it just doesn't change the type of asset being returned. Servers can implement an ` as ` parameter today and return different things if they want. Not sure why parcel is any different. Just pretend transformer plugins are serv...
freeCodeCamp/34779_124_0.txt
### devongovett commented Sep 22, 2019
freeCodeCamp/578729_11_0.txt
cpolanish (Christopher Polanish) February 20, 2024, 4:39pm 3 That’s interesting, I hadn’t thought of doing it that way, though it makes sense.
freeCodeCamp/34779_74_0.txt
> It makes for a much better developer experience if this can all be handled > in one process. One alternative is to expose a Parcel API for conveniently allowing transformations to write files to disk. This way it's still a single process with a single command and single file watcher, but there's zero "magic" in the ...
freeCodeCamp/34779_12_0.txt
For * Enterprise * Teams * Startups * Education
freeCodeCamp/34779_191_0.txt
Closed Copy link
freeCodeCamp/23291_22_0.txt
We read every piece of feedback, and take your input very seriously. Include my email address so I can be contacted
freeCodeCamp/578729_10_0.txt
image 771×37 1.8 KB 1 Like
freeCodeCamp/23291_63_0.txt
Member Author ###
freeCodeCamp/34779_91_0.txt
I was in favor of query parameters before, but @jakearchibald made a good point that unknown query parameters rarely change how a route is resolved by a server. Right now I'm leaning more towards the additional extension: import "./file.js.txt"
freeCodeCamp/23291_76_0.txt
hiepxanh commented Jul 11, 2023 // #11816 (comment)
freeCodeCamp/34779_35_0.txt
padmaia opened this issue Aug 29, 2019 · 26 comments · Fixed by #4881 Closed