Sébastien Lorber
Sébastien Lorber
great @colriot :) the Sass fix is not published to npm yet, so you can use this workaround in the meantime: https://github.com/rlamana/docusaurus-plugin-sass/pull/5#issuecomment-685099274
So you mean using `target="_self"` but navigate with browser instead of history.push right? Afaik React-Router always handles `_self` as a SPA (`history.push`) link and we don't have any code to...
@Electroid I'm the Docusaurus maintainer and don't know Bun much. Can you detail how you run it exactly on a newly initialized site? To me it looks like `bun run...
Thanks `bun --run run build` doesn't seem to work  `bun --bun run docusaurus build` leads to the same error above: ![CleanShot 2024-02-05 at 23...
Thanks for investigating @Electroid I'm excited to see Bun support for Docusaurus happening 👍 We are not the fastest SSG tool out there so having an option to build a...
Apparently, the issue above is caused by this very old Node.js "require-like" lib: https://github.com/felixge/node-require-like/blob/master/lib/require-like.js Used internally in "node-eval", with pseudo-code such as: ```js const sandbox = {require: requireLike(_filename)} vmScript.runInNewContext(sandbox,options) ```...
Just tried v1.1 and Docusaurus still can't build. I get an error due to unimplemented `worker_thread` options (reported here: https://github.com/oven-sh/bun/issues/9816#issuecomment-2032631233) during the CSS/JS minification process. Disabling modification gets me further...
I also see it working now, but we still need to use `--no-minify` to avoid these errors: ``` [bun] Warning: worker_threads.Worker option "stdout" is not implemented. [bun] Warning: worker_threads.Worker option...
Tried again today on v1.1.45 Our Docusaurus v3.7 init template can build using default settings Still getting those warnings, but it builds: ```bash NotImplementedError: worker_threads.Worker option "stdout" is not yet...
Thanks! If that helps, here are 2 more detailed perf traces comparing Node and Bun. It seems that the slower part in Bun is the webpack bundling (+2sec) but the...