@analogjs/vite-plugin-angular 3.0.0-alpha.54 → 3.0.0-alpha.55

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@analogjs/vite-plugin-angular",
3
- "version": "3.0.0-alpha.54",
3
+ "version": "3.0.0-alpha.55",
4
4
  "description": "Vite Plugin for Angular",
5
5
  "type": "module",
6
6
  "keywords": [
@@ -922,7 +922,7 @@ function angular(options) {
922
922
  const writeFileCallback = (_filename, content, _a, _b, sourceFiles) => {
923
923
  if (!sourceFiles?.length) return;
924
924
  const filename = normalizePath(sourceFiles[0].fileName);
925
- if (filename.includes("ngtypecheck.ts") || filename.includes(".d.")) return;
925
+ if (filename.includes("ngtypecheck.ts") || filename.includes(".d.") || _filename.endsWith(".d.ts") || _filename.endsWith(".d.mts") || _filename.endsWith(".d.cts")) return;
926
926
  if (/\.[cm]?js\.map$/.test(_filename)) {
927
927
  const existing = outputFiles.get(filename);
928
928
  outputFiles.set(filename, {