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

Include all workspace files in webpack / rollup build configurations #2219

Merged
merged 7 commits into from
Dec 1, 2022

Conversation

cristiano-belloni
Copy link
Contributor

@cristiano-belloni cristiano-belloni commented Nov 28, 2022

The Webpack and Rollup configuration hardcode all packages subdirectories as the source root for files included in the build. This is incorrect, since we want to support all workspaces, not only the ones under packages. This PR fixes the issue and adds a couple of tests.

  • Fix build for apps / Webpack
  • Fix build in Windows
  • Changelog
  • Tests
  • Fix build for packages

@changeset-bot
Copy link

changeset-bot bot commented Nov 28, 2022

🦋 Changeset detected

Latest commit: 68ae3a4

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
modular-scripts Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@coveralls
Copy link
Collaborator

coveralls commented Nov 28, 2022

Coverage Status

Coverage decreased (-0.03%) to 33.286% when pulling 68ae3a4 on feature/include-all-workspaces-in-build into e2cbdc3 on main.

@cristiano-belloni cristiano-belloni marked this pull request as draft November 28, 2022 18:29
@cristiano-belloni cristiano-belloni changed the title Build include directories in Webpack using all the workspaces Include all workspace files in webpack / rollup build configurations Dec 1, 2022
@cristiano-belloni cristiano-belloni marked this pull request as ready for review December 1, 2022 14:56
@cristiano-belloni cristiano-belloni requested review from sgb-io, benpryke, AlbertoBrusa, steveukx and ayseenver and removed request for sgb-io December 1, 2022 15:07
@cristiano-belloni cristiano-belloni merged commit 4a541a9 into main Dec 1, 2022
@cristiano-belloni cristiano-belloni deleted the feature/include-all-workspaces-in-build branch December 1, 2022 15:46
@github-actions github-actions bot mentioned this pull request Dec 1, 2022
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.

3 participants