swc-cli-mux
v0.5.0
Published
CLI for the swc project
Downloads
237
Maintainers
Readme
swc-cli-mux
This project is forked from @swc-projects/pkgs, which is maintained by @kdy1 강동윤
Source code synchronization status:
- Synchronized at: 2024-10-30
- Commit URL: https://github.com/swc-project/pkgs/tree/184c46b25324013ddd9c3ec1cf1df2f3c401d75a
Main changes between the original repo:
https://github.com/hangxingliu/swc-cli-mux/commit/2c8572a3439a4265d6698e934d07283df4406079
Changes from Original Project
- Add a new command named
swc-mux
for building multiple projects simultaneously. Usage instructions in subsequent section. - Fix path issues related to the parent directory.
Usage
# swc-mux [...common-options] [--mux-verbose] [... --mux <...options>]
swc-mux --strip-leading-paths src out
swc-mux --strip-leading-paths --mux src out --mux ../b/src ../b/out --mux -C module.type=es6 ../esm/src ../esm/out