dcmjs
dcmjs copied to clipboard
fix(build): Fix assert failure in rollup
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)
Deploy Preview for dcmjs2 failed.
| Name | Link |
|---|---|
| Latest commit | 7f6d25be397555561a2d53d444762a8c3de0f9fb |
| Latest deploy log | https://app.netlify.com/sites/dcmjs2/deploys/676315eda9c3cb000802d841 |