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

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

https://habr.com/ru/articles/913480/

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

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

В первой статье цикла об исследовании инструментов для анализа производительности сайта мы рассмотрели вкладку Performance. В этом материале познакомимся с таким пакетом как Webpack Bundle Analyzer ....

Хабр
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.
Jobbörse Indeed.com | Deutschlands Jobsuche

Mit Indeed können Sie Millionen Jobs durchsuchen und somit den nächsten Schritt in Ihrer Karriere planen. Wir begleiten Sie mit unseren Tools bei jedem Schritt auf diesem Weg.

🚀 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: https://www.angularminds.com/blog/unit-testing-in-react-with-jest-and-enzyme

#Angular #Webpack #JavaScript #FrontendDev #AngularTips #DevTools #BlueSkyTech

От Lerna до ModuleFederation

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

https://habr.com/ru/companies/sberbank/articles/911748/

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

От Lerna до ModuleFederation

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

Хабр

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

Simple React builds for WordPress with Symfony’s Webpack Encore – felipe.lavin.blog

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";

https://github.com/waysact/webpack-subresource-integrity/issues/231#issuecomment-2077144314 #WebPack

`The requested module 'webpack-subresource-integrity' is a CommonJS module` · Issue #231 · waysact/webpack-subresource-integrity

Hi, I'm trying to switch a project to "type": "module", so I converted my webpack.config.js to include the following import: import { SubresourceIntegrityPlugin } from "webpack-subresource-integrit...

GitHub

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

https://codeburst.io/long-term-caching-of-static-assets-with-webpack-1ecb139adb95#.oibt9ye3h #webdev #webpack

Long-term caching of static assets with Webpack - codeburst

Update: this article was written in 2015 and is obsolete. Please refer to the official up-to-date guide that I co-authored: https://webpack.js.org/guides/caching/ Webpack is a great way to package…

codeburst

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

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

https://habr.com/ru/articles/898278/

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

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

Всем привет! Меня зовут Игорь. Я  frontend-разработчик. Сегодня я расскажу вам, насколько просто использовать микрофронты. Причина, по которой я хотел бы рассказать об этом подробнее, в том, что...

Хабр

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

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

https://habr.com/ru/articles/898102/

#Webpack #Parcel #Vite #bundler

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

Привет, друзья! В этой статье мы разберем 3 самых популярных сборщика проектов для Frontend разработки. Вы узнаете их особенности, сценарии, в которых следует использовать...

Хабр
Is Vite faster than Turbopack?

Vite comes from the French word for "quick" , but is it really? I've spent the last 3, almost 4 years building our web app at Particl…