با برنامه Player FM !
پادکست هایی که ارزش شنیدن دارند
حمایت شده


Creating A Custom Plugin for Vite: The Easiest Guide
Manage episode 396925492 series 3474159
This story was originally published on HackerNoon at: https://hackernoon.com/creating-a-custom-plugin-for-vite-the-easiest-guide.
How plugins work in Vite and how to create a custom plugin for Vite
Check more stories related to programming at: https://hackernoon.com/c/programming. You can also check exclusive content about #rollup, #create-custom-vite-plugin, #frontend, #how-to-publish-your-plugin, #vite-hooks, #create-plugins-tutorial, #hackernoon-top-story, #vite-tutorial-for-beginners, #hackernoon-es, #hackernoon-hi, #hackernoon-zh, #hackernoon-fr, #hackernoon-bn, #hackernoon-ru, #hackernoon-vi, #hackernoon-pt, #hackernoon-ja, #hackernoon-de, #hackernoon-ko, #hackernoon-tr, and more.
This story was written by: @gmakarov. Learn more about this writer by checking @gmakarov's about page, and for more stories, please visit hackernoon.com.
For the development server, it uses esbuild with native ES modules, which are supported by modern browsers, and we don’t need to bundle code into a single file, and it gives us fast HRM (Hot Module Replacement). For the bundle, it uses a rollup.js because it’s flexible and has a large ecosystem; it allows the creation of highly optimized production bundles with different output formats. Vite’s plugin interface is based on Rollup’s but with additional options and hooks for working with the dev server.
346 قسمت
Manage episode 396925492 series 3474159
This story was originally published on HackerNoon at: https://hackernoon.com/creating-a-custom-plugin-for-vite-the-easiest-guide.
How plugins work in Vite and how to create a custom plugin for Vite
Check more stories related to programming at: https://hackernoon.com/c/programming. You can also check exclusive content about #rollup, #create-custom-vite-plugin, #frontend, #how-to-publish-your-plugin, #vite-hooks, #create-plugins-tutorial, #hackernoon-top-story, #vite-tutorial-for-beginners, #hackernoon-es, #hackernoon-hi, #hackernoon-zh, #hackernoon-fr, #hackernoon-bn, #hackernoon-ru, #hackernoon-vi, #hackernoon-pt, #hackernoon-ja, #hackernoon-de, #hackernoon-ko, #hackernoon-tr, and more.
This story was written by: @gmakarov. Learn more about this writer by checking @gmakarov's about page, and for more stories, please visit hackernoon.com.
For the development server, it uses esbuild with native ES modules, which are supported by modern browsers, and we don’t need to bundle code into a single file, and it gives us fast HRM (Hot Module Replacement). For the bundle, it uses a rollup.js because it’s flexible and has a large ecosystem; it allows the creation of highly optimized production bundles with different output formats. Vite’s plugin interface is based on Rollup’s but with additional options and hooks for working with the dev server.
346 قسمت
همه قسمت ها
×


1 Step-by-Step Guide to Publishing Your First Python Package on PyPI Using Poetry: Lessons Learned 4:05












1 AOSP and Linux Cross Border Convergence! Look at OpenFDE, New Open Source Linux Desktop Environment 3:16




1 Is Your Reporting Software WCAG Compliant? Make Data Accessible to Everyone with Practical Steps 14:36












1 TypeScript SDK Development: A 5-Year-Old Could Follow This Step-By-Step ~ Part 1: Our First MVP 4:15




1 Load Balancing For High Performance Computing
Using Quantum Annealing: Grid Based Application 12:00

1 Load Balancing For High Performance Computing
Using Quantum Annealing: Adaptive Mesh Refinement 4:57















1 How to Create Scrollable Lists with Protocol-Oriented Design & UICollectionViewCompositionalLayout 4:03





























































1 An Interview With Carl Cervone: On Open Source, Digital Public Goods Funding, and Impact Tracking 12:08



1 Empowering Newbies: Building Confidence Through 600+ LeetCode Solutions – A Guide for Beginners 9:20

















































1 274 Stories To Learn About Software 1:11:53









1 The First 100: Proven Tactics From Stripe, Zapier & Convertkit That Get You the Users You Want 7:19

1 How to Use Versatile Data Kit to Turn Your Jupyter Notebooks Into Scalable & Reliable Data Pipelines 9:03





1 341 Stories To Learn About Testing 1:20:08





1 342 Stories To Learn About Software Architecture 1:21:03




1 535 Stories To Learn About Python 2:23:30

1 279 Stories To Learn About Programming 1:16:55


1 411 Stories To Learn About Nodejs 1:49:34


1 475 Stories To Learn About Mobile App Development 1:56:12




1 419 Stories To Learn About Kubernetes 1:44:49


1 334 Stories To Learn About Javascript Development 1:09:43

1 506 Stories To Learn About Java 2:03:09

1 364 Stories To Learn About Html 1:34:00
به Player FM خوش آمدید!
Player FM در سراسر وب را برای یافتن پادکست های با کیفیت اسکن می کند تا همین الان لذت ببرید. این بهترین برنامه ی پادکست است که در اندروید، آیفون و وب کار می کند. ثبت نام کنید تا اشتراک های شما در بین دستگاه های مختلف همگام سازی شود.