« first day (4112 days earlier)      last day (819 days later) » 

4:59 AM
 
 
7 hours later…
12:14 PM
p5.js anybody?
 
@ChandanKumarChowdhury Welcome to the JavaScript chat! Please review the room rules. If you have a question, just post it, and if anyone's free and interested they'll help. If you want to report an abusive user or a problem in this room, visit our meta.
 
1:01 PM
hello can sombody help me with my issue with react rollup an taildwindcss, css? stackoverflow.com/questions/70756013/…
 
 
2 hours later…
3:24 PM
posted on January 18, 2022 by Michaël Zasso

Notable Changes [ef6f98c2e3] - (SEMVER-MINOR) child_process: add support for URL to cp.fork (Antoine du Hamel) #41225 [d62fe315c2] - (SEMVER-MINOR) crypto: alias webcrypto.subtle and webcrypto.getRandomValues on crypto (James M Snell) #41266 [fcb37e9ce5] - doc: add Mesteery to collaborators (Mestery) #41543 [4079fc42b7] - (SEMVER-MINOR) events: graduate capturerejections to supported (James M

 
 
4 hours later…
6:54 PM
Hi, I'm using this line: if (document.getElementById('id_tax_free').checked), I just don't know what would be the equivalent of .checked in JQuery
 
$('#foobar').is(':checked') should work, alternatively you could access the property with .prop
 
but why
 
because jquery > javascript
 
@KevinB thanks, you helped me a lot
 
oh yeah, carry on
 
7:25 PM
Hi somebody familiar with react and rollup?
 
in some senses of familiarity
i've already looked at your "question"
 
@KevinB Do you can help me?
I would give you 15€ through paypal
 
no
 
its a pity maybe i should switch to webpack instead of using rollup?
 
7:46 PM
Do you know webpack better than rollup?
i'd suspect, solving problems with one is quite similar to solving problems with the other.
 
no not really
I read that rollup is more often used to build production ready npm packages
 
let me put it this way. Your question states x isn't working
but doesn't go into any details as to why that might be
just... it "isn't"
zero debugging or investigation seems to have been done to correct the issue, or, at least, none has been shared.
No info on whether or not errors are occuring in the build process, or if errors are occuring on the browser, or if the css can be seen in the built files,
just... nothing
 
yeah I dont know why there is no error. So I built a minimal example and pushed it to github
 
right, but
that's on you to find,
you don't even know it isn't simply a CSS issue
the least you could do is inspect the built result to see if your css is there
 
I see only bundle.js in the static folder
 
7:53 PM
with rollup, is there supposed to be more than that?
 
I am not sure. I build the npm package with rollup. But in my app I am using create-react app
 
i'd suggest doing more research into rollup, to better understand what it's doing
 
@otto find a basic rollup example that works
go from there
 
The important bit from the docs is: "Note that the generated CSS will be injected to <head> by default"
if you aren't deviating from default, you should be able to tell with your browser whether or not the css is being injected.
(which is different from looking at the web page to look for a font color change)
look at the source
 
I used extract: true in the postcss plugin so rollup generates a index.css file
this css file I am importing in my app but there is no styling
 
8:00 PM
right
but
was that file added to your index.html?
you gotta think about what the code is supposed to do, and investigate whether or not it did it.
get away from "it didn't work"
it's not a useful place to stop
 
HAMMERTIME!
 
no it wasnt added to index.html
 
then you've confirmed you have a build process issue
does anything else get injected into index.html?
 
when I add a css file for example test.css and import it in my app then the styling from this css file is there
 
Where does tailwind come in?
guess that's not entirely relevant
 
8:13 PM
I followed the instruction on there homepage
 
right, but tailwind has it's own build process, that doesn't appear to be integrated into your existing one.
 
Thank I will try it. With peerDepsExternal({ includeDependencies: true }) I am getting at least the bootrstrap styling
 
 
2 hours later…
10:00 PM
> I encourage you to go watch youtube videos to find which approach works best for you
 
 
1 hour later…
11:12 PM
thank you for helping me. I will look tomorrow
 

« first day (4112 days earlier)      last day (819 days later) »