Rollup modules but keep all variables global Rollup Modules Keeping Variables Global Rollup is a popular Java Script module bundler known for its ability to efficiently combine multiple Java Script modules 2 min read 05-10-2024 6
Vite + Vue 3 built project Content-Security-Policy Error (CSP) 'script-src "self"' because of new Function constructor in built files Vite Vue 3 Unlocking the script src self CSP Error with the new Function Constructor The Frustrating script src self Problem When building a Vite Vue 3 applicat 2 min read 05-10-2024 9
`RollupError: [commonjs--resolver] Expression expected` when building the project in Vite Understanding and Resolving the Rollup Error commonjs resolver Expression expected in Vite Projects When working with modern Java Script frameworks like Vite de 2 min read 26-09-2024 14
How to Reduce Build Size in React App with CRA Build? How to Reduce Build Size in React App with CRA Build Creating a scalable and high performance React application is essential for developers However one common c 2 min read 17-09-2024 37
MUI X Localization Context Error When Using MUI Date Picker from Custom Library MUI X Localization Context Error When Using MUI Date Picker from Custom Library When integrating MUI Material UI components into your React project you may enco 3 min read 16-09-2024 17
Vite compiled file fails with error during namespace mapping Understanding the Vite Compilation Error Namespace Mapping Failure When working with Vite a modern frontend build tool that offers fast and lean development you 2 min read 15-09-2024 19
Vitest not properly interpreting TypeScript Vitest and Type Script Bridging the Gap Vitest is a popular blazing fast testing framework for Java Script and Type Script projects But sometimes Vitest might n 2 min read 13-09-2024 20
How to set multiple output when build lib with vite Building a Vue 3 Library with Multiple Output Files Using Vite Vite is a lightning fast development server and build tool thats become a popular choice for Vue 2 min read 04-09-2024 21
'rollup' is not recognized as an internal or external command Troubleshooting rollup is not recognized as an internal or external command The error message rollup is not recognized as an internal or external command operab 2 min read 04-09-2024 12
How to include HTML partials using Vite? How to Include HTML Partials with Vite for Efficient Web Development Vite a blazing fast development server for modern web development offers a streamlined work 2 min read 04-09-2024 21
Cannot unit test proyect with my custom react library Troubleshooting Jest Errors When Using a Custom React Library This article explores a common issue developers face when integrating their custom React library i 3 min read 04-09-2024 15
How can rollup plugins generate its .d.ts types with .js file Unlocking Type Script Magic How Rollup Plugins Generate d ts Files Rollup a powerful Java Script module bundler is a developers best friend But what about Type 2 min read 03-09-2024 20
Failed to load main.js script from index.html leaves a blank site until refresh The Blank Page Problem Why Your Website Might Be Stuck Loading and How to Fix It Have you ever encountered a frustrating situation where your website loads an e 3 min read 03-09-2024 18
RollupError: Module format "umd" does not support top-level await. Use the "es" or "system" output formats rather Understanding and Resolving the Rollup Error Module format umd does not support top level await This error Rollup Error Module format umd does not support top l 2 min read 01-09-2024 9
Prevent Vite/RollUp from scoping globalThis Understanding and Preventing Vite Rollup Scoping of global This This article explores a common issue encountered when using libraries like PDF js within Vite or 2 min read 31-08-2024 21
How to enable chunks for development on Nuxt? Streamlining Your Nuxt Development Enabling Chunks for Faster Performance Developing with Nuxts Hot Module Replacement HMR can sometimes feel sluggish especiall 2 min read 30-08-2024 14
Is there any way that I export my styles from a package I write to use in my other projects? Exporting Styles from a React Package A Practical Guide Building a reusable React component library is a great way to streamline development and maintain consis 3 min read 29-08-2024 16
How come my bundle.js has the type of html instead of JS in the network tab? Why is my bundle js showing as HTML in the Network Tab This is a common issue developers encounter when creating their own Java Script libraries or components T 3 min read 28-08-2024 22
Integrate Bootstrap 5 with Rollup Integrating Bootstrap 5 with Rollup A Comprehensive Guide Integrating Bootstrap 5 into your Rollup project can be a bit tricky especially when dealing with SCSS 2 min read 28-08-2024 9
Install peer dependencies in lib automatically on the client side Install Peer Dependencies in a React Library on the Client Side This article explores how to automatically install peer dependencies for your React library on t 2 min read 28-08-2024 13