silgi 0.7.11 → 0.7.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_chunks/index.mjs +1 -1
- package/dist/cli/types.mjs +1 -7
- package/dist/meta/index.d.mts +1 -1
- package/dist/meta/index.d.ts +1 -1
- package/package.json +1 -1
package/dist/_chunks/index.mjs
CHANGED
package/dist/cli/types.mjs
CHANGED
|
@@ -314,12 +314,6 @@ async function resolvePathOptions(options) {
|
|
|
314
314
|
"silgi/runtime/*": join(runtimeDir, "*"),
|
|
315
315
|
"#internal/silgi/*": join(runtimeDir, "*")
|
|
316
316
|
};
|
|
317
|
-
options.typescript.customConditions = [
|
|
318
|
-
...options.typescript.customConditions,
|
|
319
|
-
"silgiTypes"
|
|
320
|
-
];
|
|
321
|
-
options.conditions ||= [];
|
|
322
|
-
options.conditions.push("silgi");
|
|
323
317
|
}
|
|
324
318
|
options.alias = {
|
|
325
319
|
...options.alias,
|
|
@@ -625,7 +619,7 @@ async function silgiGenerateType(silgi) {
|
|
|
625
619
|
jsxFactory: "h",
|
|
626
620
|
jsxFragmentFactory: "Fragment",
|
|
627
621
|
allowImportingTsExtensions: true,
|
|
628
|
-
|
|
622
|
+
customConditions: silgi.options.typescript.customConditions,
|
|
629
623
|
paths: {
|
|
630
624
|
"#silgiImports": [
|
|
631
625
|
relativeWithDot(tsconfigDir, join(silgi.options.build.typesDir, "silgi-imports"))
|
package/dist/meta/index.d.mts
CHANGED
package/dist/meta/index.d.ts
CHANGED