Questions tagged [rollup]
The ROLLUP operator is useful in generating reports that contain subtotals and totals. The ROLLUP operator generates a result set that is similar to the result sets generated by the CUBE operator
rollup
1,485
questions
0
votes
1
answer
13
views
babel-plugin-styled-components works well with NODE_ENV=development but not with NODE_ENV=production in React app
I am facing the following situation in my React App. I use babel-plugin-styled-components. When NODE_ENV!==production classes are generated and injected in the head tag and used by the React ...
0
votes
0
answers
3
views
Migrate conditional custom element compilation in Svelte Rollup config to SvelteKit Vite config
In my Svelte 3 component library I'm using this Rollup configuration to conditionally render custom elements. Only files with the *.wc.svelte extension are compiled as HTML5 web components.
export ...
0
votes
0
answers
17
views
Keep getting error `[vite]: Rollup failed to resolve import "tslib" from "/vercel/path0/node_modules/.pnpm/[email protected]` upon deployments to vercel
I am building an AstroJS project with Sanity as CMS - on my development environment everything works fine and the build is also successful
But when I try to deploy the project to vercel, I keep ...
0
votes
0
answers
7
views
How to use a WASM binary in an NPM package using Rollup
Github Repository to reproduce issue: https://github.com/kyledecot/rollup
I have three packages:
C -> B -> A
Package C is a react component library that wraps package B. Package B contains a ...
-1
votes
2
answers
76
views
SQL rollup to add a total row for multiple columns
I am using the employee data set from Kaggle - Dataset
I created a pivot table on top of this for EmployeeClassificationType and EmployeeStatus
with pivotTable as
(
select
...
0
votes
1
answer
26
views
Vite/Rollup: No name was provided for external module/Failed to resolve module specifier
For some reason, Rollup refuses to recognize my global external dependencies.
From my vite.config.ts:
export default defineConfig({
build: {
rollupOptions: {
external: ['radash', '@...
0
votes
1
answer
20
views
Install peer dependencies in lib automatically on the client side
I am developing a React package/library and have compiled it using Rollup. The package includes several components that need to be used in an Angular app.
I've specified a few packages as ...
0
votes
0
answers
14
views
Integrate Bootstrap 5 with Rollup
I try to integrate bootstrap with a rollup package but I keep getting several errors. I was wondering if there is a way to make it work, even if I have to change my structure.
Structure:
src/index.ts
...
0
votes
1
answer
11
views
How to achieve time-slab based rollup in druid
I have a use case where I want my data to be rolled up in druid in following manner :
data belonging to <90 days should be rolled up Hourly
data belonging to last 3-6 months should be rolled up ...
0
votes
0
answers
15
views
How come my bundle.js has the type of html instead of JS in the network tab?
I am trying to develop a single TypeScript React component that I plan to release on NPM. I am using rollup to bundle my component into cjs, esm and iife.
I need to be able to load my component onto ...
0
votes
1
answer
28
views
Is there any way that I export my styles from a package I write to use in my other projects?
I have a package made up by ReactJs, rollup. I used TS in my structure and use .module.scss files to add styles to my components.
but when I build the package in /dist directory, it doesn't have any ...
1
vote
0
answers
29
views
How to enable chunks for development on Nuxt?
When I use dev-mode with HMR and I open any page of my project every file in the project has separated request in Network Inspector - from several hundreds to several thousands files downloaded ...
0
votes
0
answers
16
views
Prevent Vite/RollUp from scoping globalThis
I'm using PDF.js and one of its classes is instantiated with:
class DOMCanvasFactory extends _base_factory_js__WEBPACK_IMPORTED_MODULE_0__.BaseCanvasFactory {
constructor({
ownerDocument = ...
0
votes
1
answer
48
views
RollupError: Module format "umd" does not support top-level await. Use the "es" or "system" output formats rather
RollupError: Module format "umd" does not support top-level await. Use the "es" or "system" output formats rather.
I can't figure out what to do. I'm trying to build my ...
0
votes
1
answer
28
views
Vitest not properly interpreting TypeScript
I have the following setup test:
import { describe, it } from "vitest";
import { init, initServer } from "../src";
import dotenv from "dotenv";
dotenv.config();
...