This repository was archived by the owner on Nov 23, 2026. It is now read-only.
Repository navigation
Fix #9382: Inject base tag to all .html files - #9450
Merged
Merged
Conversation
dschmidt
marked this pull request as ready for review
July 19, 2023 15:06
|
Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes. |
JammingBen
approved these changes
Jul 19, 2023
dschmidt
enabled auto-merge (squash)
July 19, 2023 15:48
|
SonarCloud Quality Gate failed.
|
2 tasks done
AlexAndBear
pushed a commit
that referenced
this pull request
Aug 15, 2023
AlexAndBear
pushed a commit
that referenced
this pull request
Dec 13, 2023
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.











Description
Adds
basetag for CERN at build time.Related Issue
Motivation and Context
CERN does not want to implement this dynamically on server side like we do and prefers to have a build option.
Unfortunately I needed to move two
.htmlfiles to our project root, I tried very hard but couldn't figure out a way to avoid this. It seems basically impossible to override the output path for.htmlfiles in vite.In rollup there seems to be the possibility to provide multiple
input/outputvalues and make it work that way - but that does not work in vite. It might be possibly to use a renaming plugin for rollup/vite but that did not seem worth the trouble just for keeping two files out of the project root...How Has This Been Tested?
Done a local CERN build and checked base tag was available in all
.htmlfiles.Screenshots (if appropriate):
Types of changes
Checklist:
Open tasks: