Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize the display of the path #1395

Closed
ahaoboy opened this issue May 28, 2024 · 0 comments · Fixed by #1396
Closed

Optimize the display of the path #1395

ahaoboy opened this issue May 28, 2024 · 0 comments · Fixed by #1396

Comments

@ahaoboy
Copy link
Contributor

ahaoboy commented May 28, 2024

🐛 Bug description

The relative path is output as a string, rather than the normalized standard path

🤔 Expected Behavior

The relative path is normalized before output, maybe use path-clean ?
https://crates.io/crates/path-clean

👟 Steps to reproduce

wasm-pack build --release --target web --out-dir ./web
Your wasm pkg is ready to publish at C:\wt\qr-detect\qr-detect-rs\./web.

wasm-pack build --release --target web --out-dir ../qr-detect-rs/web
Your wasm pkg is ready to publish at C:\wt\qr-detect\qr-detect-rs\../qr-detect-rs/web.

🌍 Your environment

Include the relevant details of your environment.
wasm-pack version: 0.12.1
rustc version: 1.77.2 (25ef9e3d8 2024-04-09) (Rev1, Built by MSYS2 project)

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 a pull request may close this issue.

2 participants
@ahaoboy and others