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: improve the build using rollup #898

Open
wants to merge 15 commits into
base: main
Choose a base branch
from
Open

feat: improve the build using rollup #898

wants to merge 15 commits into from

Conversation

mato533
Copy link
Contributor

@mato533 mato533 commented Jan 20, 2025

Description

To avoid complications of ESM and CJS build, Implement rollup as bundler.

new package

this PR create new package @wdio/electron-bundler because there are some logic to create rollup configurations.

Feature of @wdio/electron-bundler
  1. provide the utility function to detect input and output parameters autotaticaly.

  2. provide some rollup plugins which is used bundling packages.

rollup configuration

this PR adds rollup configuration files for each package.

typecheck

this PR adds type check because rollup does not run the type check.

Related Issue

#880

Note.
This PR is refactoring #822

@mato533
Copy link
Contributor Author

mato533 commented Jan 20, 2025

CI for Linux is currently not working, but once #896 is resolved, it will become normal. In addition, we have confirmed that CI can pass on ubuntu22.

@mato533 mato533 added enhancement New feature or request tooling labels Jan 20, 2025
@mato533 mato533 linked an issue Jan 20, 2025 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request tooling
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve the build - better use of bundling
1 participant