Results 22 comments of yinz

> https://github.com/oven-sh/bun/issues/4689#issuecomment-2888634558 try this ```toml # bunfig.toml preload = ["./plugin.ts"] ``` ```diff ts // plugin.ts import { compile } from "@danielx/civet"; import { plugin } from "bun"; await plugin({ name:...

It seems to be related to the module type, but generally don't rely too much on this timing. If you keep sending messages in the main thread, the fork process...

I totally agree with this idea. Mac users prefer to use `CMD` instead of `Ctrl`.

@alexzhang1030 thanks, and this is my patches ```diff diff --git a/dist/pixi_viewport.js b/dist/pixi_viewport.js index afe733ca61bf52f14653e6ec478016b2362ccbad..d6e9d4224eaa035d6a4013cffec6999a18c9368d 100644 --- a/dist/pixi_viewport.js +++ b/dist/pixi_viewport.js @@ -1,4 +1,8 @@ import { Point as c, Rectangle as...

> @pixi/[email protected] Yes, fixed in `beta.16` https://codesandbox.io/p/sandbox/dj3wf4 thanks

@minggangw Yes, this is a bit tricky at the moment. I don't think setting NODE_PATH is a good idea. Do you think including index.js as part of the generated code...

Maybe like this, using package.json#exports to define the module ```json5 { // package.json "name": "rclnodejs", "description": "ROS2.0 JavaScript client with Node.js", "exports": { "./rclnodejs.node": "./build/Release/rclnodejs.node", "./parser": { "import":"./rosidl_parser/index.mjs", "require":"./rosidl_parser/index.cjs", "types":"./rosidl_parser/index.d.ts"...

@minggangw To be more precise, I recommend looking at the relationship between [protobufjs](https://www.npmjs.com/package/protobufjs) and [protobufjs-cli](https://www.npmjs.com/package/protobufjs-cli) |pb lib|rclnodejs lib|desc| |--|--|--| |protobufjs|rclnodejs|provides the runtime| |protobufjs-cli|rclnodejs-cli|provides the generated code| The exports I mentioned...

If this suggestion is feasible, I recommend abandoning the use of `binding` and defining `.node` files through exports. Furthermore, the `.node` file processing model can refer to esbuild, pre-building content...