Skip to main content

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 votes
0 answers
16 views

RollUp/Yalc/Babel/Jest Cannot use Import statement outside of a module

So I am in the process of splitting down large VS projects in to separate modules (built with Rollup, published to an Azure artifacts repository and locally linked via Yalc), and I am running in to an ...
Lewis Moore's user avatar
0 votes
1 answer
13 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', '@...
selfagency's user avatar
  • 1,560
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 ...
Salz khan's user avatar
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 ...
Nick Gr's user avatar
  • 147
0 votes
0 answers
6 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 ...
Pradeep's user avatar
  • 15
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 ...
user24290772's user avatar
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 ...
kosar mohammadi's user avatar
1 vote
0 answers
23 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 ...
Denis Bookreev's user avatar
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 = ...
adamdaly's user avatar
  • 363
0 votes
1 answer
44 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 ...
Kemal Güneş's user avatar
0 votes
1 answer
25 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(); ...
Ethan's user avatar
  • 749
0 votes
0 answers
25 views

Vite compiled file fails with error during namespace mapping

I have a node.js app that I want to build with Vite/SWC. Config file: import { defineConfig } from 'vite'; import { VitePluginNode } from 'vite-plugin-node'; import path from 'path'; export default ...
Vololodymyr's user avatar
  • 2,178
0 votes
0 answers
140 views

MUI X Localization Context Error When Using MUI Date Picker from Custom Library

I'm working on a React project that utilizes a custom component library. This library is showcased using Storybook and built with Vite in its Library Mode. In the vite.config.js all peerDependencies ...
falkop's user avatar
  • 1
0 votes
0 answers
48 views

How to Reduce Build Size in React App with CRA Build?

I'm trying to optimize the build size of my React app. Currently, I am using gzip compression with the CRA build, without using Webpack or Rollup. My current build size with gzip is 4.6 MB, and ...
Blank's user avatar
  • 3
-1 votes
0 answers
30 views

Rollup failed to resolve import "styled-components" from "/opt/build/repo/node_modules/sanity/lib/index.esm.js"

I am using the Sanity CMS and Netlify and it builds locally and renders just fine. When I deploy it installs all of the dependencies correctly but upon building it results in the following error: [...
gregwhitworth's user avatar

15 30 50 per page
1
2 3 4 5
100