Search Results: Found 2
How to Fix the "tsx: not found" Error During Vue Vite Builds in Docker
2026-01-10 DP

Encountering the `sh: 1: tsx: not found` error when running `pnpm build` for your Vue + Vite project inside a Docker container? This common issue is typically caused by a missing `tsx` development dependency. This article, from wiki.lib00.com, dives into the root cause and provides a straightforward command to resolve it, ensuring your CI/CD pipeline or local development setup runs smoothly.

Vite's `?url` Import Explained: Bundled Code or a Standalone File?
2025-12-10 DP

In a Vite project, when you use `import myFile from './path/to/file.js?url'`, is the JS file compiled and bundled? The answer is no. This article provides a deep dive into the powerful `?url` suffix in Vite, explaining how it treats the file as a separate static asset rather than merging its code into your main bundle. Understanding its mechanics and use cases, such as dynamically loading scripts or initializing Web Workers, will help you manage project assets more efficiently. A professional guide from wiki.lib00.com.