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

feat: warn when module is commonjs #7

Open
DonIsaac opened this issue Sep 18, 2024 · 0 comments
Open

feat: warn when module is commonjs #7

DonIsaac opened this issue Sep 18, 2024 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@DonIsaac
Copy link
Owner

Warn users that oxbuild does not support CommonJS (at least right now) if they have compilerOptions.module set to CommonJS.

  • We should still transpile their code
  • note that module is case sensitive (so we need to check for "commonjs" too)

We'll come back to this after oxc's transformer supports babel's cjs plugin.

@DonIsaac DonIsaac added enhancement New feature or request good first issue Good for newcomers labels Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant