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

[Bug]: Modern.js Module dev --config <config> does not work #5084

Closed
ulivz opened this issue Dec 13, 2023 · 0 comments · Fixed by #5085
Closed

[Bug]: Modern.js Module dev --config <config> does not work #5084

ulivz opened this issue Dec 13, 2023 · 0 comments · Fixed by #5085
Labels
bug Something isn't working

Comments

@ulivz
Copy link
Member

ulivz commented Dec 13, 2023

Version

System:
    OS: macOS 12.3
    CPU: (10) arm64 Apple M1 Max
    Memory: 1.22 GB / 64.00 GB
    Shell: 5.8 - /bin/zsh
  Browsers:
    Chrome: 120.0.6099.71
    Safari: 15.4
  npmPackages:
    @modern-js/eslint-config: 2.42.1 => 2.42.1
    @modern-js/module-tools: 2.42.1 => 2.42.1

Details

modern dev --config <config> does not work in Modern.js Module:

> [email protected] dev
> modern dev --config module.config.ts

  Modern.js Module v2.42.1

error: unknown option '--config'
(Did you mean --tsconfig?)

Reproduce link

https://github.com/ulivz/modern-module-custom-config-reproduction

Reproduce Steps

git clone https://github.com/ulivz/modern-module-custom-config-reproduction
cd modern-module-custom-config-reproduction
pnpm i
npm run dev # 即 modern dev --config module.config.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant