silgi 0.23.4 → 0.23.5
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/kit/index.mjs +2 -1
- package/package.json +1 -1
package/dist/_chunks/index.mjs
CHANGED
package/dist/kit/index.mjs
CHANGED
|
@@ -491,9 +491,10 @@ const baseHeaderBannerComment = [
|
|
|
491
491
|
function addFileExtension(src) {
|
|
492
492
|
const silgi = useSilgiCLI();
|
|
493
493
|
if (silgi.options.typescript.removeFileExtension) {
|
|
494
|
+
src = src.replace(/\.ts$/, "");
|
|
494
495
|
return src;
|
|
495
496
|
}
|
|
496
|
-
return src
|
|
497
|
+
return src;
|
|
497
498
|
}
|
|
498
499
|
|
|
499
500
|
function addTemplate(_template) {
|