davay

Results 27 comments of davay

Yeah, I'm using `vitepress` based on `vitejs`. https://vitejs.dev/

Webback is like a thing of the past as it's way slower, than new build tools built around `esbuild`. Vite is a breakthrough in the js ecosystem. That is I...

Yeah, sure! Plain JS is enough here! `vite` and other more modern tools are based on native js `import - export` and don't need any kind of special treatment.

![](https://user-images.githubusercontent.com/6184449/159575902-b22dd381-b279-4166-89cf-d58b8a207a34.png) Here's the hack that makes the new Gun v. `0.2020.1236` work with Vite. Had to use https://github.com/feross/buffer and https://github.com/YuzuJS/setImmediate for it. Seems ok as they're quite small in size.

As I understand the problem appears only for Vite build system. When people use the compiled Gun.js in the browser everything works fine.

@philippedasilva-orizone Thank you for the update! That works just fine! � ```js // polyfiils for Gun 0.2020.1236 import { Buffer } from 'buffer' window.Buffer = Buffer window.setImmediate = setTimeout ```

Current docs are automatically generated from this repo wiki. You can build right from there!

@mimiza @amark should we correct the docs to use 'block' instead of 'blacklist' already? Or do we need the fix to be published to NPM first?

Yeah, I got the idea on removing non-O(1) requests from the chain. I'll take my time to remove the `blacklist` from examples.