Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Use custom implementation of canonicalize for wasi#18994

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
thecrypticace wants to merge1 commit intomain
base:main
Choose a base branch
Loading
fromfix/issue-18418

Conversation

thecrypticace
Copy link
Contributor

@thecrypticacethecrypticace commentedSep 25, 2025
edited
Loading

Fixes#18418

Pulled some old code thatoxc-resolver used. They did switch tofs::read_link at some point though. Perhaps we should do the same here?

  • Needs tests
  • Investigateread_link

@thecrypticace
Copy link
ContributorAuthor

thecrypticace commentedSep 25, 2025
edited
Loading

Notes for me:

Requires a linux container to test:

container run -it -v $(pwd)/temp:/temp --entrypoint /bin/bash node

Test file:

// Local compiled versionsletnative=require("./native/package/tailwindcss-oxide.linux-arm64-gnu.node");letwasi=require("./wasi/package/tailwindcss-oxide.wasi.cjs");// Installed versions// let native = require("@tailwindcss/oxide");// let wasi = require("@tailwindcss/oxide-wasm32-wasi");letfs=require("node:fs");fs.mkdirSync("node_modules/example",{recursive:true});fs.writeFileSync("node_modules/example/test.mjs","bg-red-500");letsources=[{base:process.cwd(),pattern:"node_modules/example/test.mjs",negated:false}];letexpected={native:["bg-red-500"],wasi:["bg-red-500"],};letactual={native:newnative.Scanner({ sources}).scan(),wasi:newwasi.Scanner({ sources}).scan(),};console.log({ expected, actual});

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

@source directive not working in Stackblitz when targeting node_modules
1 participant
@thecrypticace

[8]ページ先頭

©2009-2025 Movatter.jp