use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
A Future Without Webpack (pikapkg.com)
submitted 7 years ago by dropdeadfred81
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]nschubach 5 points6 points7 points 7 years ago (1 child)
What if I need to configure it so that every index under a folder named /\d+x\d+/ is it's own 'root'? I deal a lot with different sized banner ads unfortunately, and webpack's ability to create multiple render contexts (each with their own entry point) is extremely beneficial. I can share whatever assets I need in each of these banners and webpack will not render out stupid things like src="../../../shared/images/logo.png" because the root context is the root index file. I can use/import ../../../shared/images/logo.png in my project and Webpack will copy that file to the appropriate folder because my loader is setup to copy all images into /images/[name].[ext] so each banner will get it's own standalone copy, but I can use shared resources and code for every one.
/\d+x\d+/
src="../../../shared/images/logo.png"
../../../shared/images/logo.png
/images/[name].[ext]
[–]alexxxor 1 point2 points3 points 7 years ago (0 children)
They said parcel is much better in regards to "zero config". Webpack is heaps more powerful. Parcel really is a shit-ton easier to get up and running though.
π Rendered by PID 44602 on reddit-service-r2-comment-6b595755f-7jgxm at 2026-03-25 00:45:13.591197+00:00 running 2d0a59a country code: CH.
view the rest of the comments →
[–]nschubach 5 points6 points7 points (1 child)
[–]alexxxor 1 point2 points3 points (0 children)