Skip to content

Conversation

@ShGKme
Copy link
Contributor

@ShGKme ShGKme commented Jun 21, 2025

  • For a library there is no need to transpile to an old ES version. It is covered by the application bundler
  • With vitest babel also isn't needed to run tests

ShGKme added 2 commits June 21, 2025 13:56
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
@ShGKme ShGKme requested a review from susnux June 21, 2025 12:14
@ShGKme ShGKme self-assigned this Jun 21, 2025
@ShGKme ShGKme added the 3. to review Waiting for reviews label Jun 21, 2025
Comment on lines +4 to +6
"target": "esnext",
"module": "commonjs",
"declaration": true,
"moduleResolution": "node",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not directly esnext module?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because it is a small but breaking change rather than a refactoring

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
@ShGKme ShGKme force-pushed the chore/remove-babel branch from 6e39465 to ce0054a Compare June 21, 2025 12:38
"build:doc": "typedoc --excludeNotExported --mode file --out dist/doc lib/index.ts && touch dist/doc/.nojekyll",
"check-types": "tsc",
"dev": "babel ./lib --out-dir dist --extensions '.ts,.tsx' --watch",
"check-types": "tsc --noEmit",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"check-types": "tsc --noEmit",
"ts:check": "tsc --noEmit",

@susnux susnux merged commit bee2abc into main Jun 21, 2025
11 checks passed
@susnux susnux deleted the chore/remove-babel branch June 21, 2025 12:48
@susnux susnux mentioned this pull request Oct 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants