"Complicated" dynamic import and deno bundle for the browser ..
I recently updated from 2.4 to 2.5, specifically for the new html entrypoint feature for the bundle command.
Before upgrading, bundling ts/css to browser-ready output works fine. After upgrading, not only am I seeing several thousand chunks from bundled output, but also new errors in the browser console regarding missing .js files.
Some diagnostic work shows the problem package to be
browser-fs-access
, which is a dependency of one of my direct dependencies, and the problem code to be dynamic imports, as in the following:
The errors in the browser look like the following:
Any guidance/help/tips are appreciated. Thanks!0 Replies