Skip to content

Conversation

@fi3ework
Copy link
Member

@fi3ework fi3ework commented Nov 18, 2025

@fi3ework fi3ework force-pushed the win32 branch 2 times, most recently from 72c2204 to 3d3f345 Compare November 18, 2025 08:17
@fi3ework fi3ework marked this pull request as ready for review November 18, 2025 08:20
@fi3ework
Copy link
Member Author

@chenjiahan PTAL 👋


run();
const require = createRequire(import.meta.url);
const pkg = require('./package.json');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we use import here

Copy link
Member Author

@fi3ework fi3ework Nov 18, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that means we need to either use import attributes (node 20 required, not friendly to node 18 users), or a build process to replace the version from bin. 🤔 i think require is somehow acceptable here.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

get 👌

@chenjiahan chenjiahan merged commit 216d123 into rstackjs:main Nov 18, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants