Skip to content

feat: add vite-plugins package with dojo support - #4629

Merged
GordonSmith merged 1 commit into
hpcc-systems:mainfrom
GordonSmith:VITE_PLUGINS
Aug 9, 2026
Merged

feat: add vite-plugins package with dojo support#4629
GordonSmith merged 1 commit into
hpcc-systems:mainfrom
GordonSmith:VITE_PLUGINS

Conversation

@GordonSmith

@GordonSmith GordonSmith commented Aug 9, 2026

Copy link
Copy Markdown
Member

Checklist:

  • The commit message is properly formatted and free of typos.
    • The commit message title makes sense in a changelog, by itself.
    • The commit message includes a "fixes" reference if appropriate.
    • The commit is signed.
  • The change has been fully tested:
    • I have viewed all related gallery items
    • I have viewed all related dermatology items
  • There are no similar instances of the same problem that should be addressed
    • I have addressed them here
    • I have raised new issues to address them separately

Testing:

Signed-off-by: Gordon Smith <GordonJSmith@gmail.com>
payload.deps.forEach((dep, i) => {
const absMid = dep.split("!").map(part => resolver.toAbsMid(part, payload.reference)).join("!");
lines.push(`import __d${i} from ${JSON.stringify(dep)};`);
entries.push(`${JSON.stringify(absMid)}: __dojoDep(() => __d${i}, ${JSON.stringify(absMid)})`);
const entries: string[] = [];
deps.forEach((dep, i) => {
lines.push(`import __d${i} from ${JSON.stringify(dep)};`);
entries.push(`${JSON.stringify(dep)}: __dojoDep(() => __d${i}, ${JSON.stringify(dep)})`);
const requested = resolver.toAbsMid(mid, reference);
noteAlias(canonicalOf(resolved.id), requested);
const unwrapDefault = needsInterop && options.esmInterop !== "namespace";
return `__dojoRt.__dojoDep(() => ${name}, ${JSON.stringify(requested)}${unwrapDefault ? ", 1" : ""})`;
const requested = resolver.toAbsMid(mid, reference);
noteAlias(canonicalOf(resolved.id), requested);
target.push(
`${JSON.stringify(mid)}: {load: () => import(${JSON.stringify(resolved.id)}), absMid: ${JSON.stringify(requested)}}`
const requested = resolver.toAbsMid(mid, reference);
noteAlias(canonicalOf(resolved.id), requested);
target.push(
`${JSON.stringify(mid)}: {load: () => import(${JSON.stringify(resolved.id)}), absMid: ${JSON.stringify(requested)}}`
@GordonSmith
GordonSmith merged commit 3440d32 into hpcc-systems:main Aug 9, 2026
5 checks passed
@github-actions github-actions Bot mentioned this pull request Aug 9, 2026
GordonSmith added a commit to GordonSmith/Visualization that referenced this pull request Aug 9, 2026
Signed-off-by: Gordon Smith <GordonJSmith@gmail.com>
GordonSmith added a commit that referenced this pull request Aug 9, 2026
Signed-off-by: Gordon Smith <GordonJSmith@gmail.com>
@github-actions github-actions Bot mentioned this pull request Aug 9, 2026
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