Update hivegrid-cloud reference to latest main
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e98d38e716
commit
7b21524c86
3781 files changed
+373484
-225607
No files matched your search
@@ -6,11 +6,11 @@ const externalBarePackagesPlugin = {
|
||||
name: "external-bare-packages",
|
||||
setup(builder) {
|
||||
builder.onResolve({ filter: /^[^./]|^\.[^./]|^\.\.[^/]/ }, (args) => {
|
||||
if (args.path === "@toolctrl/queue/runtime" || args.path.startsWith("@toolctrl/queue/runtime/")) {
|
||||
if (args.path === "@hivegrid/queue/runtime" || args.path.startsWith("@hivegrid/queue/runtime/")) {
|
||||
return { path: args.path, external: true };
|
||||
}
|
||||
|
||||
if (args.path.startsWith("@toolctrl/")) {
|
||||
if (args.path.startsWith("@hivegrid/")) {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
@@ -28,7 +28,7 @@ await build({
|
||||
target: "node20",
|
||||
sourcemap,
|
||||
banner: {
|
||||
js: 'import { createRequire as __toolctrlCreateRequire } from "node:module"; const require = __toolctrlCreateRequire(import.meta.url);',
|
||||
js: 'import { createRequire as __hivegridCreateRequire } from "node:module"; const require = __hivegridCreateRequire(import.meta.url);',
|
||||
},
|
||||
logLevel: "warning",
|
||||
plugins: [externalBarePackagesPlugin],
|
||||
|
||||
Reference in new issue
Block a user