Skip to main content
Filter by
Sorted by
Tagged with
1 vote
0 answers
49 views

I'm trying to update my GitHub action to use latest version of "base" action. All is looking fine but one PR check fails on checking if /dist directory was updated. It finds some changes in /...
piotrekkr's user avatar
  • 3,346
0 votes
0 answers
36 views

I can not seem to figurate out how to get "@/" to resolve to "src". What am I doing wrong? [vite] Internal server error: Failed to resolve import "@/components/Name" from ...
Romuloux's user avatar
  • 1,222
-1 votes
2 answers
256 views

While trying to execute unit tests with Vitest through Yarn in my Angular app I have an error about 'rollup' package : yarn run test [INFO] failed to load config from xxx\angular-test\vitest.config.ts ...
Benjamin C's user avatar
0 votes
1 answer
70 views

I'm trying to build a package, and for that I using rollup const config: RollupOptions[] = [ { input: "./index.ts", output: [ { dir: "...
Maifee Ul Asad's user avatar
-1 votes
1 answer
245 views

When we create a vite project running npm run build will create the rollup javascript bundle. However the command npm init vite@latest that we used to scaffold out the project does not create a rollup....
Ole's user avatar
  • 48.2k
0 votes
0 answers
31 views

I'm working on packaging up a React component. I'm used to using CSS modules with sass (EG like Next.js). -src --components ---HelloWorld ----index.js ----hello-world.module.scss HelloWorld import ...
Romuloux's user avatar
  • 1,222
1 vote
0 answers
60 views

I’m currently developing a React component library that’s built with Rollup and released as a private npm package. This library is used across multiple applications. The issue I’m facing is that ...
nav's user avatar
  • 11
0 votes
1 answer
47 views

I want to create a streamdeck plugin using Streamdeck SDK. I created the example counter project and it works fine on Windows 11, node 23.8, Streamdeck 6.8.1. The project is written in typescript and ...
k0pernikus's user avatar
  • 67.6k
-1 votes
1 answer
205 views

Trying to build a module with rollup + TypeScript and seeing some issues I cannot understand. My general rollup config looks like: export default { input: ['src/index.ts'], output: [ { ...
Joseph's user avatar
  • 539
0 votes
0 answers
35 views

I have a private package @company/some-package I am unable to implement nested exports here. For example: @company/some-package/react @company/some-package/vue @company/some-package/vanilla Exactly ...
Rohan Gupta's user avatar
0 votes
0 answers
69 views

I am building a Svelte component library for my project and have run into several issues, particularly when trying to test components with slots. Here's the error I'm facing: Object literal may only ...
Józef Podlecki's user avatar
0 votes
1 answer
156 views

I see this Q&A here, but that's for an obvious global named Promise. I can find Promise in the MDN docs easily enough. But Rollup is renaming 4 of my consts that I don't find anywhere in any docs:...
Sideways S's user avatar
0 votes
0 answers
180 views

What is the option, or are the options, for SWC in order not to compile? I only want to use the minifier. I'm bundling with Rollup and I came across this plugin, rollup-plugin-swc-minify, but it sets ...
Sideways S's user avatar
0 votes
1 answer
89 views

I have an issue with the @carbon/theme and the rollup-plugin-saas plugin. [!] (plugin rollup-plugin-sass) Error: Can't find stylesheet to import. ╷ 6 │ @use '@carbon/themes'; It looks like the ...
Cyril's user avatar
  • 152
0 votes
1 answer
93 views

I've been reviewing some discussions, such as this one, which suggest that React should typically be placed as a prod dependency. However, I'm uncertain if the same consideration applies to Preact. ...
DonHunt7382's user avatar
1 vote
0 answers
153 views

I'm getting this error from Rollup (via Vite) vite v5.3.5 building for production... src/foo.tsx (2:0): A comment "/*#__NO_SIDE_EFFECTS__*/" in "src/foo.tsx" contains an ...
Aron Griffis's user avatar
  • 1,749
0 votes
1 answer
125 views

I wont to do I want to transpile TypeScript code with Private Class Fields to ES5 like when using TypeScript's private identifier. (I give up one or the other, it will be resolved soon. But I don't ...
sflow's user avatar
  • 1
0 votes
1 answer
646 views

I'm working on a monorepo and I'm trying to create a package that would be a React ui-kit library. For now, I've been trying to export a custom button component and building the ESM et CJS modules ...
Mathieu Rousseau's user avatar
2 votes
0 answers
637 views

Project setup Electron app using electron-builder, which uses vite as build system. The build system is still almost identical to the template. TypeScript, with the .ts file extension ESM and import ...
Ben Bucksch's user avatar
4 votes
0 answers
181 views

I use ViteJS integrated with PHP as a backend. I would like to 'separate' EditorJS from the main asset file. I build it, even though I'm not using EditorJS directly. However, when I try to use '...
Potivier's user avatar
1 vote
1 answer
2k views

I have a turborepo with a react component library which I publish to NPM. Call it @myscope/react — it's bundled with CSS using RollupJS. And turbo has some good docs on publishing local packages here. ...
thomasmost's user avatar
  • 1,080
0 votes
1 answer
70 views

I'm developing a React component library for npm. The tech stack includes: React TypeScript styled-components I'm using Babel and Rollup for the build process. My issue is that I want to use the css ...
Tottzi's user avatar
  • 41
0 votes
1 answer
86 views

I want to create a module for CMS using Rollup or webpack. I have a script tag that contains a few variables which I need to use in my webpack module, but I can't include them directly because these ...
Aimon Z.'s user avatar
8 votes
1 answer
5k views

i was configuring a rollup.config.mjs file and this is how i used to import json files import packageJson from "./package.json" assert { type: "json" }; as far i have tested it ...
MUHAMMAD Asim's user avatar
2 votes
1 answer
818 views

I've been beating my head against a wall for days, so I'm throwing myself on the mercy of people who are smarter than me. (Sorry for the length... I'm trying to be thorough) I'm currently working a ...
Collin Lucke's user avatar

1
2 3 4 5
25