Question: When I run npm run build with the configuration below, rollup.js is unable to resolve the dependency (import) and displays the following message below
More and more modern Typescript transpilers have moved toward a strategy of per-module transpilation, which significantly increases build speed, but eliminates
How can I exclude some part of code in file (not the file itself but only few lines) from compiling into bundle? In C# it looks like #ifdef _DEBUG ... #else ...
I created an app within a monorepo (Lerna) using yarn workspace. The architecture of the app is as follow: my-monorepo ├── node_modules ├
I'm trying to load a company font from a node_modules folder which only includes fonts and icons, it was working locally. At first, I thought it was because Vit
I'm having some trouble with RollupJS. I have one component library using typescript, react, AntDesign which using rollup. Here my rollup config: import babe
I am having problems deploying my svelte web3 App to my VPS running Dokku. The structure of the folder is as follows: root |-->svelte |--> ... I found s
I'm trying to build a standardized react button component for our enterprise library. I want to be able to use @emotion/styled to generate the styled react comp
I have a problem. I'm currently making a component library for react, it works perfectly in storybook. But when I do a npm rollup, or install my package from np
In my project, I need to do cache busting, since after a new deploy, the browser often only reloads the HTML but not the JS & CSS files. Currently, I am not
I know that Rollup is used to bundle .js files. But is it possible to use it just to process css? (css, scss, less, etc). What i mean is if i had for example in
I'm doing import file from 'file.json in a Vue component, but have a challenge when I run npm run build to bundle it with Rollup. It throws this error below an
I feel like the preserveModulesRoot option while using preserveModules does not work as it should. Let's say I have a src/index.ts and a bunch of src/components
Using rollup is it possible to replace a specific source by another source in a NPM package during a browser bundle? Note this source is dynamically imported vi
I currently am trying to build a UI Library for React and I am having a little bit of trouble. Currently I am using typescript and rollup, and I am able to bund
Is it possible to include snippets of shared HTML using Vite (vanilla)? I'm looking for a way to have the HTML prerendered without injecting via JS. Something l