#webpack

2025-05-28

Обзор инструмента Webpack Bundle Analyzer

В этом материале познакомимся с таким пакетом как Webpack Bundle Analyzer, который позволяет наглядно увидеть из каких частей состоит проект. В качестве тестового проекта использована сборка на базе Next.js 15-й версии с app router.

habr.com/ru/articles/913480/

#javascript #webpack #reactjs #nextjs #npm_package #analyzer

2025-05-26
Hi, I'm Evan (he/any).

TLDR: I'm a privileged white hetero-cis-male politically #left #TriratnaBuddhist #SoftwareEngineer (#IHelpPeopleGetJobs) currently in #Seattle but planning to move to #AotearoaNZ or #Australia as so as we can manage it with my wife & 3 kids

I'm politically #left (at least in United States terms). I'm a #voting nerd in that I have a favorite voting-related textbook (Collective Decisions and Voting by Nicolaus Tideman).

I think we could mostly solve #gerrymandering by making larger districts with ~5 representatives instead of just 1 and then using #SingleTransferableVote. That would strike a nice balance between local & proportional representation. For single-person positions, like presidents/governors/mayors, STV becomes #RankedChoiceVoting (aka #InstantRunoffVoting aka #AlternativeVote) which eliminates the spoiler effect and leads to more civil campaigns.

Plus, #RankedChoiceVoting eliminates the need for primaries and runoffs, which can lead to significant cost reductions.

I'm training for ordination with the #TriratnaBuddhist Order (#dhamma, #dharma, #Buddhism) and have been for many years. It's a long process, especially with other things going on. I've done some kind of #meditation (mostly #anapanasati) every day for over 3 years and more sporadically since 2006.

That said, I do take issue with some of the things the founder (Sangharakshita) did, and I'm concerned with a recent rise in sort of guru worship around. I can have gratitude for his explanation of the dharma, try to sort out the idiosyncratic bits, and still view him as a deeply flawed human being.

I write #software for http://indeed.com (job search site) (previously employed by Amazon). I've written a lot of #database-backed #webservices in #Java, but in the last few years, I've been working on #microfrontend platforms in #JavaScript & #TypeScript, primarily supporting #React. I have more knowledge about #Webpack #ModuleFederation than anyone should be cursed with. I'd love to try #SolidJS, #RustLang seems really cool, and I'm excited about the future of #WebAssembly.

My wife & I have fantasized about moving to #AotearoaNZ or #Australia since well before the pandemic, and now we're actively trying make it happen. Since we're both in high-demand professions (she's a nurse), I think it should go reasonably smoothly 🤞. Feel free to get in touch with job opportunities that offer visa sponsorship, suggestions for #kiwiana or Australian culture that will help us adapt, reasons that your city is the best, etc. I always blow on the pie when I wear my jandals to the dairy. If we ship things over, I can only hope that the front doesn't fall off the boat. I hear that only rarely happens.

My daughter Juniper was born at the beginning of 2020, so her experience of life and my experience of parenthood are both tightly linked to the pandemic. On the upside, I get to work remotely, which means I get more time with her. She's a lot of fun (and of course a lot of work).

Then, we had our twins Heath & Magnolia (Noli) in September 2023, and our lives got even more hectic and full of love.

Juniper goes to a Waldorf school, and I wish I could go, too, but I think the adult version of Waldorf school might just be therapy.
Angular Mindsangularminds
2025-05-23

🚀 Ever wondered how Angular apps stay lightning fast? It’s all thanks to Webpack.

From bundling to lazy loading, Webpack is the powerhouse behind Angular’s smooth performance. 🔧✨

Whether you’re debugging, customizing builds, or just curious — this guide breaks down exactly how Angular uses Webpack (even when you're using the CLI).

🔍 Learn more: angularminds.com/blog/unit-tes

Unit Testing in React with Jest and Enzyme Frameworks
2025-05-22

От Lerna до ModuleFederation

Привет, Хабр! Меня зовут Дмитрий Ханин, я работаю в Сбере и участвую в разработке Платформы ЦА — системы на базе блокчейн, занимающейся привлечением средств юридических и физических лиц. Сегодня хотелось бы рассказать про тот путь, который мы прошли за несколько лет, как организовали взаимодействие между разными приложениями и чем нам это помогло. Рассказ разделён на две части. В первой рассмотрим путь проекта и проблемы, с которыми сталкивались, а во второй разберём, как мы решали часть этих проблем.

habr.com/ru/companies/sberbank

#module_federation #webpack #microfrontends #опыт_разработчика

@990000@mstdn.social990000@mstdn.social
2025-05-14

I know it's biased towards JS-heavy web apps when people say this, but it totally cracks me up when they say Vite is much simpler than Webpack when you have to slog through this kind of documentation just to work around all its complications. It's totally comical to have to run an extra server and have to deal with cross-server communication issues. It's like it fixes one big problem, only to introduce another.

nystudio107.com/docs/vite/

#Vite #WebDev #CraftCMS #Webpack

felipe.lavin.blogblog@felipe.lavin.blog
2025-05-12

Simple React builds for WordPress with Symfony’s Webpack Encore

Symfony’s Webpack Encore (docs) makes it quite easy to build your JS apps. It’s a nicer interface for the actual Webpack config, so you can also extend and customize your config to fit any use case that’s supported by webpack.

One of the cool things I’ve done with it is using it for building React apps that use WordPress code editor components for my own admin tools.

Here’s how you can use […]

#javascript #react #webpack #WordPress

https://felipe.lavin.blog/?p=7448

Go through all the .js files in dist/mjs and add .js to all relative imports, so change e.g.

import { createDAGfromGraph } from "./scc";

to

import { createDAGfromGraph } from "./scc.js";

github.com/waysact/webpack-sub #WebPack

"Don’t use [chunkhash] in development since this will increase compilation time"

codeburst.io/long-term-caching #webdev #webpack

2025-04-07

Микрофронтенд на пальцах с module federation 2.0

Микрофронтенд на пальцах с module federation 2.0. Как собрать микрофронты из кубиков без магии по шагам.

habr.com/ru/articles/898278/

#микрофронтенды #webpack #module_federation #typescript

2025-04-06

Сборщики Frontend и когда их применять

Привет, друзья! В этой статье вы узнаете ключевые возможности и отличия трёх популярных сборщиков Frontend-разработки: Webpack, Vite и Parcel. Также вы сравните использование этих сборщиков на практике и узнаете, как выбрать сборщик для своего проекта.

habr.com/ru/articles/898102/

#Webpack #Parcel #Vite #bundler

2025-03-12

Снимаем оковы Webpack: как мы ускорили сборку проекта в 10 раз, потратив меньше рабочего дня

Современная фронтенд-разработка технологически весьма сложная: множество зависимостей, микросервисы, размеры самих проектов, плагины для настройки окружения и многое другое. Это касается и одного из самых ключевых этапов в разработке - сборка проекта. Множество проектов, на которых я работал, собирались (и собираются) с помощью Webpack. Это классический и проверенный временем инструмент: со своими преимуществами и недостатками. В какой-то момент недостатки стали перешивать:

habr.com/ru/articles/890290/

#javascript #webpack #фронтендразработка #vite #микросервисы #hmr

2025-03-06

Webpack, Vite или Rspack: что это за зоопарк или как собирать микрофронтенды в 2025?

Привет! Разбираясь с микрофронтендами в монорепозитории для проекте с Vue3 пришёл к выводу, что так много уделяется внимания гибкости в построении архитектуры и бизнес-задачам, что все боятся заниматься улучшением "условий труда" связанных со сборкой приложения! Решил что эта задачка как раз мне подходит и представляю вашему вниманию небольшую статью которая возможно поможет вам сделать выбор или подтолкнет попробовать новые инструменты сборки фронтенда! Для справки - микрофронтенды у нас на Module Federation, Nx для управления монорепозиторием, общаемся мы через GraphQL, тестируем с Jest и конечно куда без TypeScript. Проект активно развивается, и с ростом его масштабов столкнулись с вопросом: какой сборщик лучше всего справится с нашими задачами? Webpack уже давно с нами, но его медлительность заставляет искать альтернативы. Vite обещает молниеносную разработку, а Rspack — производительность без сложной миграции. Давайте разберёмся, что подойдёт именно нам — и, возможно, вам.

habr.com/ru/articles/888478/

#сборка_проекта #webpack #vite #rspack #vuejs #module_federation #bundler

2025-02-17

Even though I'm a backend developer I've got to keep abreast of some frontend stuff so that I can lend my general developer brain to designing or advising or fixing things wherever it happens, and it looks like I've now got to get up to speed on #Preact and #TailWind and #WebPack for the next phase of work. That'll keep me busy for a bit.

2025-02-16

Way back in September of 2022, @bart finished off the Webpack miniseries by leaving it as an exercise for the student to deploy their web apps to GitHub Pages. Bart closes that circle in this installment while teaching us how to use GitHub Actions.

pbs.bartificer.net/pbs176

#Programming #ProgrammingByStealth #WebPack #GitHubPages

DevNewsdevnews
2025-02-13

Meme Roulette Chrome Extension

Crafting a Chrome Extension: TypeScript, Webpack, and Best Practices Cendekia ・ Feb 13 source

devnews.tech/meme-roulette-chr

Michal Bryxí 🌱MichalBryxi@veganism.social
2025-02-12

I just realised: I've been intentionally postponing getting into the guts of #webpack for so long, that it got "deprecated" and I no longer have to \o/

#yes #win

2024-12-28

Порты в веб-разработке: от локальной разработки до продакшена

Эта статья предназначена в первую очередь для веб-разработчиков. Я не являюсь экспертом в области сетей, администрирования или DevOps, поэтому представленный материал не углубляется в сетевые аспекты. Из любопытства, я как то задался вопросом практического использования разных номеров портов: что они означают для разработчиков, почему используются определенные порты, и какие приложения чаще всего запускаются на них. Цель статьи — пролить немного света на эти “магические” циферки с точки зрения их прикладного применения веб-разработчиками. Исторически приложения на Node.js (например, с использованием фреймворков Nest.js или Express) и Webpack по умолчанию запускаются на 3000 порту, если не вносить изменения в базовую конфигурацию. Vite, напротив, изначально использует порт 5173. Это может быть связано с отсылкой к названию "Vite" (если подключить немного воображения). С технической точки зрения нет разницы, на каком порту запускать локальный сервер для разработки — это может быть 1050, 10900 или любой другой. Главное, чтобы порт был:

habr.com/ru/articles/870658/

#HTTP_Ports #Vite #Webpack #nodejs_приложения #тестовые_среды

2024-12-23

Another try, and I'm giving up once again 😭

I just can't upgrade my whole build setup to use #webpack + #typescript + #esmodules for both the app code and the test suite. Something always breaks. I lose *hours* reading github issues and stuff, trying stuff left and right, trying to switch to this or that, nothing works entirely, and it never breaks the same way.

That kind of nonsense will end up with me abandoning my side project 😩

2024-12-17

Как мы мигрируем с JQuery на React

Вокруг все говорят о серверных компонентах реакта, о серверном рендеринге, и разных новшествах в мире фронтенде. Как будто JQuery в один миг взял и исчез. Несмотря ни на что он всё ещё остаётся самой популярной библиотекой 😅. Сегодня я вам расскажу, как мы постепенно мигрируем с JQuery на React.

habr.com/ru/articles/866158/

#frontend #react #typescript #миграция_проекта #create_react_app #zustand #jquery #webpack #razor #tsc

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst