Hash Brown

Results 23 comments of Hash Brown

Thanks for your feedback! For now I will just use const value, but I think this issue is possible to be solved by rebuilding the whole package with the compiler...

This PR provides exactly what I wanted, will there be any further progress? 👀

@piscis What you've done is quite nice, do you think it's possible to go further and make it a [nuxt module](https://nuxt.com/modules), just like [element-plus](https://nuxt.com/modules/element-plus)?

I think the most intuitive way to do so is to add `typedClient` configuration in `sanity` field in `nuxt.config.ts`: ```ts sanity: { projectId: 'myProject', typedClient: true // requires users to...

@dsehnal Thanks for pointing out the way to iterate over interactions and get their label! But currently I still get stuck on how to **filter interactions correctly**. I tried to...

同样遇到这个问题,感谢大佬🫶 解决的配置: ```ts chain.merge({ plugin: { install: { plugin: UnifiedWebpackPluginV5, args: [{ appType: 'taro', injectAdditionalCssVarScope: true, // 配置此字段为 true 即可 }], }, }, }) ```

For those who want better TypeScript DX, Sanity now introduces an experimental feature called [Sanity TypeGen](https://github.com/sanity-io/sanity/releases/tag/v3.36.0) which supersedes [@sanity-typed](https://github.com/saiichihashimoto/sanity-typed/tree/main?rgh-link-date=2024-02-11T13%3A07%3A53Z). `Sanity TypeGen` supports generate types via its CLI, so I think...

> import initRDKitModule from "./RDKit_minimal.js"; @MichelML I tried this and won't work. It turns out that if we want to use an outside function in an ES module web worker...

I just created a [demo](https://codesandbox.io/p/github/xuzuodong/demo-rdkit-es-module-web-worker/master?workspaceId=580c20ed-cb20-4251-b546-e9819285ce3d&file=%2Fsrc%2Frdkit-assets%2Frdkit.js&selection=%5B%7B%22endColumn%22%3A1%2C%22endLineNumber%22%3A11%2C%22startColumn%22%3A1%2C%22startLineNumber%22%3A11%7D%5D), with Vite correctly handles the module worker. A drawback is that `RDKit_minimal.js` and `RDKit_minimal.wasm` need to be placed in `/src` rather than `/public`, as Vite...