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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove webpack and tsb, use esbuild #1581

Merged
merged 2 commits into from
Mar 2, 2023
Merged

Conversation

connor4312
Copy link
Member

Fortunately we don't depend on any extension global in integration tests, so moving over was relatively easy. Also adopt the esbuild- powered tsx loader for mocha unit tests.

  • 馃樆 Build time 50s -> 1.4s
  • 馃殌 Extension.js size 1,630KB -> 1280KB -- mostly better treeshaking

Fixes #1575

Fortunately we don't depend on any extension global in integration
tests, so moving over was relatively easy. Also adopt the esbuild-
powered `tsx` loader for mocha unit tests.

- 馃樆 Build time 50s -> 1.4s
- 馃殌 Extension.js size 1,630KB -> 1280KB -- mostly better treeshaking

Fixes #1575
@connor4312 connor4312 marked this pull request as ready for review March 2, 2023 00:09
cwd: args.pluginData.resolveDir,
})
.sort()
.map(m => `[${JSON.stringify(m)}, () => import(${JSON.stringify(`./${m}`)})]`);

Check warning

Code scanning / CodeQL

Improper code sanitization

Code construction depends on an [improperly sanitized value](1).
@connor4312
Copy link
Member Author

CodeQL checks are a couple false positives and it tripping over test fixtures

@connor4312 connor4312 merged commit cd4fe8e into main Mar 2, 2023
@connor4312 connor4312 deleted the chore/move-to-esbuild branch March 2, 2023 00:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cleanup dependencies for modern npm
2 participants