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

[core] More global contexts #84

Merged
merged 13 commits into from
Jul 10, 2024
Merged

Conversation

yoannmoinet
Copy link
Member

@yoannmoinet yoannmoinet commented Jul 8, 2024

Stacked on #85

What and why?

We need a way to communicate the list of files produced at the end of the build.

How?

We're using the global context plugin to gather the list from webpack and esbuild (since they are the only two bundles we support right now).
And add it to the global context.

@yoannmoinet yoannmoinet changed the base branch from master to yoann/rum-plugin July 8, 2024 12:58
@yoannmoinet yoannmoinet changed the base branch from yoann/rum-plugin to yoann/refactor-testing-telemetry July 10, 2024 07:34
@yoannmoinet yoannmoinet marked this pull request as ready for review July 10, 2024 07:42
@yoannmoinet yoannmoinet requested a review from a team as a code owner July 10, 2024 07:42
@yoannmoinet yoannmoinet requested review from sarenji and elbywan and removed request for a team and sarenji July 10, 2024 07:42
@@ -45,7 +46,8 @@ export const getWebpack4Options = (
const plugin = datadogWebpackPlugin(newPluginOptions) as unknown;

return {
entry: defaultEntry,
// Somehow webpack4 doesn't find @dd/tests/fixtures/index.js
Copy link
Member Author

Choose a reason for hiding this comment

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

I think it's simply that it doesn't support pnp without a plugin.

Base automatically changed from yoann/refactor-testing-telemetry to yoann/rum-plugin July 10, 2024 14:44
@yoannmoinet yoannmoinet merged commit b2ca98d into yoann/rum-plugin Jul 10, 2024
5 checks passed
@yoannmoinet yoannmoinet deleted the yoann/more-global-contexts branch July 10, 2024 14:45
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.

2 participants