mirror of
https://github.com/priyanshujain/sanderling.git
synced 2026-10-04 20:17:09 +00:00
fix(testrun): alias @sanderling/spec/defaults for the bundler
This commit is contained in:
1 parent
761627dde3
commit
b8b183e970
1 file changed
+1
@@ -50,6 +50,7 @@ func Execute(ctx context.Context, options Options, stdout io.Writer) error {
|
|||||||
if specAPIPath != "" {
|
if specAPIPath != "" {
|
||||||
aliases["@sanderling/spec"] = specAPIPath
|
aliases["@sanderling/spec"] = specAPIPath
|
||||||
base := filepath.Dir(specAPIPath)
|
base := filepath.Dir(specAPIPath)
|
||||||
|
aliases["@sanderling/spec/defaults"] = filepath.Join(base, "defaults/index.ts")
|
||||||
aliases["@sanderling/spec/defaults/properties"] = filepath.Join(base, "defaults/properties.ts")
|
aliases["@sanderling/spec/defaults/properties"] = filepath.Join(base, "defaults/properties.ts")
|
||||||
}
|
}
|
||||||
defines := map[string]string{
|
defines := map[string]string{
|
||||||
|
|||||||
Reference in new issue
Block a user