A static site generator for data apps, dashboards, reports, and more. Observable Framework combines JavaScript on the front-end for interactive graphics with any language on the back-end for data analysis.
When jsDelivr fails to bundle a package, it appears to succeed, but the code is replaced with:
/**
* Failed to bundle using Rollup v2.79.1: the file imports a not supported node.js built-in module "node:perf_hooks".
* If you believe this to be an issue with jsDelivr, and not with the package itself, please open an issue at https://github.com/jsdelivr/jsdelivr
*/
throw new Error('Failed to bundle using Rollup v2.79.1: the file imports a not supported node.js built-in module "node:perf_hooks". If you believe this to be an issue with jsDelivr, and not with the package itself, please open an issue at https://github.com/jsdelivr/jsdelivr');
When jsDelivr fails to bundle a package, it appears to succeed, but the code is replaced with:
Example: https://cdn.jsdelivr.net/npm/happy-dom/+esm
We should detect this error and abort earlier so that it’s easier to tell what went wrong. Related #956.