Closed victorgdb closed 9 months ago
Hello, just to let you know that:
This code
let array = aq .from(data) .orderby(aq.desc('value')) .derive({ cumulative: aq.rolling((d) => op.sum(d.value)), }) .derive({ share_cumulative: (d) => d.cumulative / op.sum(d.value), }) .derive({ category: (d) => (d.share_cumulative > 0.98 ? 'Other' : d.label), }) .groupby('category') .rollup({ value: (d) => op.sum(d.value), }) .objects();
Produces the following error when minified
To solve the issue I had to update next.config.js to:
const moduleExports = { reactStrictMode: true, swcMinify: false, experimental: { externalDir: true, typedRoutes: true, },
Or simply remove the faulty code.
Impacted versions:
"arquero": "^5.2.0", "next": "^14.0.4",
Hello, just to let you know that:
This code
Produces the following error when minified
To solve the issue I had to update next.config.js to:
Or simply remove the faulty code.
Impacted versions: