dcmjs icon indicating copy to clipboard operation
dcmjs copied to clipboard

fix(build): Fix assert failure in rollup

Open pieper opened this issue 11 months ago • 1 comments

Due to change in nodejs, as described here:

https://github.com/rollup/rollup/issues/5531

Before this fix:

% npm run build

> [email protected] build
> rollup -c

[!] SyntaxError: Unexpected identifier 'assert'
    at compileSourceTextModule (node:internal/modules/esm/utils:338:16)
    at ModuleLoader.moduleStrategy (node:internal/modules/esm/translators:102:18)
    at ModuleLoader.#translate (node:internal/modules/esm/loader:437:12)
    at ModuleLoader.loadAndTranslate (node:internal/modules/esm/loader:484:27)
    at ModuleJob._link (node:internal/modules/esm/module_job:115:19)

pieper avatar Dec 18 '24 18:12 pieper

Deploy Preview for dcmjs2 failed.

Name Link
Latest commit 7f6d25be397555561a2d53d444762a8c3de0f9fb
Latest deploy log https://app.netlify.com/sites/dcmjs2/deploys/676315eda9c3cb000802d841

netlify[bot] avatar Dec 18 '24 18:12 netlify[bot]