Skip to content

Authn fixes for CDN and build optimization#300

Merged
bourgeoa merged 2 commits into
stagingfrom
authnFix2
Jun 19, 2026
Merged

Authn fixes for CDN and build optimization#300
bourgeoa merged 2 commits into
stagingfrom
authnFix2

Conversation

@timea-solid

Copy link
Copy Markdown
Member

Addressing copilot reviews from previous PR #296

Copilot AI review requested due to automatic review settings June 19, 2026 09:42
@timea-solid timea-solid moved this to In review in SolidOS NLNet UI Jun 19, 2026
@timea-solid timea-solid self-assigned this Jun 19, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR adjusts the bundling/externalization strategy to improve browser/CDN usability and ensure build outputs keep consistent optimization settings, while updating documentation to reflect the new externalization split between UMD and ESM bundles.

Changes:

  • Remove @uvdsl/solid-oidc-client-browser externals from the UMD builds so the UMD bundle no longer depends on those globals.
  • Preserve commonConfig.optimization settings across all build variants by spreading them into each config’s optimization block.
  • Update README to describe which dependencies are externalized for UMD vs ESM bundles.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
webpack.config.mjs Moves auth-package externals to ESM-only and ensures optimization settings are consistently applied in all bundle variants.
README.md Updates browser usage documentation to reflect the updated externalization behavior.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread README.md
Comment on lines +32 to +34
The UMD bundles externalize `rdflib` only.

The ESM bundles externalize both `rdflib` and the auth library packages `@uvdsl/solid-oidc-client-browser` / `@uvdsl/solid-oidc-client-browser/core`.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I think we do not need to be so specific. No need to commit this suggestions.

@bourgeoa bourgeoa merged commit 033239a into staging Jun 19, 2026
8 checks passed
@github-project-automation github-project-automation Bot moved this from In review to Done in SolidOS NLNet UI Jun 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants