I'm currently migrating my Opensource Web Projects from using Webpack to Rollup. And Vite provides the perfect tooling for that. It simplifies the Rollup setup and provides a development server with HMR. It also works perfect for building and bundling TypeScript libraries for reuse in other projects. I recorded a little tutorial on how to set everything up properly, including Dev Containers for Web Development. Here's the example project: https://lnkd.in/ez73RQcK
Michael Breitung’s Post
More Relevant Posts
-
🚀 Just Published on Medium! 🚀 I've just shared a detailed guide on optimizing Webpack for single-file output in React projects. 🎉 👉 In this post, I cover: Why you might want a single-file bundle for certain projects How to inline assets like images and fonts directly into your bundle Disabling code splitting and controlling chunk generation Key optimizations to reduce bundle size and improve performance Whether you're working on a small app or just want to simplify your deployment process, this guide is for you! Check it out, Feel free to share your thoughts, questions, or experiences with Webpack configuration. Let’s discuss! 💬 #React #Webpack #FrontendDevelopment #JavaScript #WebDevelopment #Coding
To view or add a comment, sign in
-
🚀 Module Federation 2.0! 💫 Enhanced Module Loading Flexibility ✂ Decoupling Webpack and Supporting Cross-Tool Sharing of Modules 📄 Manifest Protocol 🛠 Chrome DevTools This is taking a really interesting direction! https://lnkd.in/gstcZkQ6 Webpack
Announcement of Release - Module federation
module-federation.io
To view or add a comment, sign in
-
🚀 Diving into Webpack: Mastering Build Tools for Modern Web Development ⚡ I’m currently enhancing my web development skills by learning Webpack, a powerful bundler that helps streamline and optimize the process of building and deploying JavaScript applications! 🧑💻💡 🔧 Key Concepts I’m Learning: Module Bundling: Combining multiple files (JavaScript, CSS, images) into efficient bundles for faster load times 📦 Code Splitting: Breaking up large code into smaller chunks that are loaded only when needed, improving performance ⚡ Loaders & Babel: Transforming and compiling code (e.g., using Babel for ES6+ compatibility) 🔄 Plugins: Automating tasks like minification, asset optimization, and HTML file generation 🛠️ Hot Module Replacement (HMR): Enabling faster development cycles by automatically updating code changes in the browser without a full page reload 🔥 With Webpack, I’m learning how to optimize build times and improve performance, which are essential for creating scalable, production-ready web apps. 🚀 Excited to continue mastering this tool and elevate my development process! Github Repo:- https://lnkd.in/deSymp8M #Webpack #JavaScript #WebDevelopment #PerformanceOptimization #BuildTools #FrontendDev #CodingJourney
GitHub - Farooq85-dev/WebPack-JS: This repository is abou what is webpack and how to use it.
github.com
To view or add a comment, sign in
-
🚀 New Video Alert! 🚀 I’m excited to announce that the 7th video in my Webpack series is now live! 🎉 In this episode, we dive into 𝗣𝗹𝘂𝗴𝗶𝗻𝘀 𝗜𝗻𝘁𝗿𝗼𝗱𝘂𝗰𝘁𝗶𝗼𝗻 🔧✨ In this video, we cover: • The essential differences between plugins and loaders • Why plugins are crucial for your Webpack configuration • Various types of plugins and their specific use cases Watch it here: https://lnkd.in/dF5ijxkJ Don’t forget to check out the full playlist for more tips and tricks on mastering Webpack: https://lnkd.in/d7zBBkKC #Webpack #WebDevelopment #JavaScript #Coding #Plugins
Webpack Plugins | Plugins Introduction
https://www.youtube.com/
To view or add a comment, sign in
-
- 🚀 Exciting Announcement on Micro Frontend solutions! 🚀 - 🔍 Module Federation 2.0 Official Release! 🌟 What is Module Federation? - Purpose: Module Federation is a feature introduced by Webpack 5 designed to facilitate the sharing of modules across different applications. Key Use Cases: - Micro Frontends: Enables the integration of multiple independently built and deployed frontend applications into a single cohesive user experience. - Code Sharing: Allows different projects to share code, reducing duplication and improving maintainability. - Team Collaboration: Enhances collaboration by allowing teams to work on separate parts of a project simultaneously, without interfering with each other. - 🛠️ Key Enhancements: - Decoupling Runtime from Build Tools: Standardizes implementation across various platforms, increasing module loading flexibility. - Type Safety: The updated build plugin automatically generates and loads types for TypeScript projects, ensuring safety with synchronized types in development mode. - Debugging Tools: Enhanced debugging with a new Chrome DevTools, making the process more convenient and efficient. - Deployment Platforms: The addition of the mf-manifest.json file protocol simplifies integration with deployment platforms, improving resource and version management. https://lnkd.in/e4dBCwA3
Module federation
module-federation.io
To view or add a comment, sign in
-
💡Published My First NPM Package: A Simple Square Root Calculator. Creating a custom NPM package has been an exciting journey! My package simplifies calculating the square root of a number, and I’ve shared the entire process in the blog below. If you’re curious about creating your own NPM package or just want to learn more, check it out. #NPM #JavaScript #OpenSource #WebDevelopment
Simplifying Development: The Story Behind Publishing Custom NPM Package
link.medium.com
To view or add a comment, sign in
-
Webpack vs. Vite: Choosing the Right Tool for Your Project In modern software development, choosing the right bundler can make or break your workflow. Webpack and Vite are two popular tools, but they cater to different needs: Webpack: - Proven track record with robust plugin support. - Great for complex, large-scale applications. - Handles non-JS assets effectively. Vite: - Lightning-fast dev server with native ES modules. - Optimized for modern frameworks like Vue 3 and React. - Ideal for smaller, performance-focused projects. Takeaway: Use Webpack for legacy systems or intricate builds. Go with Vite if speed and simplicity are your priorities. What’s your go-to bundler?
To view or add a comment, sign in
-
Why people use webpack? -A: For bundling Example: Comparing Load Times with and Without Bundling For example, a project with 50 JavaScript files of 10 KB each: Without bundling: The browser needs 50 HTTP requests, which may slow down due to limited parallel loading. With bundling: The 50 files could be combined into a single 500 KB bundle or split into a few optimized chunks, significantly improving load times and browser efficiency.
To view or add a comment, sign in
Founder & CEO, Locationscout.net
6moSounds great. Always wanted to give new tools a try as well because Webpack often feels so huge compared to what I actually need from it. Symfony finally has their own tool for this use case but not sure yet if it's worth it to change all this for minor development benefits. Only thing I would love to have is building a new production version would also be a lot faster then...