You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello
This issue is related to #35
I have an astro project with deno server, and when dev processing, the project works properly without any compile error,
But when compiling to build (npm run build), it gives me the folowing error
> npm run build
> @example/basics@0.0.1 build
> astro build
07:16:14 [build] output target: server
07:16:14 [build] Collecting build info...
07:16:14 [build] Completed in 22ms.
07:16:14 [build] Building server entrypoints...
[commonjs--resolver] Cannot bundle Node.js built-in "os" imported from "node_modules\svgo\lib\svgo-node.js". Consider disabling ssr.noExternal or remove the built-in dependency.
file: ..../node_modules/svgo/lib/svgo-node.js
error Cannot bundle Node.js built-in "os" imported from "node_modules\svgo\lib\svgo-node.js". Consider disabling ssr.noExternal or remove the built-in dependency.
File:
..../node_modules/svgo/lib/svgo-node.js
because its based on node js libraries, i tried to found some alertnatives with native javascript or works on deno, but my knowledge is not that good .
any help or hints ? i can contribute with a PR to make it depends on pure javascript
thanks in advance
The text was updated successfully, but these errors were encountered:
This definitely seems related to #25. I'm not very familiar with Deno but switching to the browser version of svgo seems like it might resolve the issue temporarily at least.
Hello
This issue is related to #35
I have an astro project with deno server, and when dev processing, the project works properly without any compile error,
But when compiling to build (npm run build), it gives me the folowing error
because its based on node js libraries, i tried to found some alertnatives with native javascript or works on deno, but my knowledge is not that good .
any help or hints ? i can contribute with a PR to make it depends on pure javascript
thanks in advance
The text was updated successfully, but these errors were encountered: