breaking(build): migrate to Esbuild for bundling#13338
Merged
christian-bromann merged 23 commits intomainfrom Aug 9, 2024
Merged
breaking(build): migrate to Esbuild for bundling#13338christian-bromann merged 23 commits intomainfrom
christian-bromann merged 23 commits intomainfrom
Conversation
09e2440 to
ea5016e
Compare
johnp
added a commit
to johnp/webdriverio
that referenced
this pull request
Aug 11, 2024
…-leak * upstream/main: V9 ai support (webdriverio#13340) docs(devtools manipulation): (webdriverio#13334) breaking(build): migrate to Esbuild for bundling (webdriverio#13338) fix(@wdio/protocols): remove return value for navigateTo (webdriverio#13335) fix(@wdio/runner): check if getTypes is available when filtering through browser logs fix(@wdio/runner): filter for severe errors fix(@wdio/runner): retry on Outdated Optimize Dep Vite errors (webdriverio#13330) feat(webdriverio): new command to set viewport (webdriverio#13258) chore(deps): fix pnpm-lock chore(deps): bump vite-plugin-top-level-await from 1.4.1 to 1.4.2 (webdriverio#13282) fix(dependabot): fix dependabot ignore setting chore(testing): update Vitest to v2 chore(sponsoring): add Route4Me to Backers.md and Readme.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposed changes
We have been using the basic TypeScript compiler for compiling the project. While it served us well I think we are at a point where we can migrate to a more sophisticated setup. Migrating to Esbuild will help us to be more flexible with our build. It will improve our component testing setup drastically as Vite will have less files to load given that with Rollup we can compile e.g. the
webdriveriopackage into a single file. It will also simplify our CJS setup as we can just bundle a standalone CJS files where needed.fixes #11713
Types of changes
Checklist
Backport Request
//: # (The current
mainbranch is the development branch for WebdriverIO v9. If your change should be released to the current major version of WebdriverIO (v8), please raise another PR with the same changes against thev8branch.)v9and doesn't need to be back-ported#XXXXXFurther comments
n/a
Reviewers: @webdriverio/project-committers