@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 +1 -1
- package/src/lib/angular-vite-plugin.js +1 -1
- package/src/lib/angular-vite-plugin.js.map +1 -1
- package/src/lib/compiler/angular-version.js +16 -1
- package/src/lib/compiler/angular-version.js.map +1 -1
- package/src/lib/compiler/compile.js +23 -1
- package/src/lib/compiler/compile.js.map +1 -1
- package/src/lib/compiler/constants.d.ts +3 -3
- package/src/lib/compiler/constants.js +4 -3
- package/src/lib/compiler/constants.js.map +1 -1
- package/src/lib/compiler/jit-transform.js +1 -1
- package/src/lib/compiler/jit-transform.js.map +1 -1
- package/src/lib/compiler/metadata.d.ts +1 -1
- package/src/lib/compiler/metadata.js +7 -1
- package/src/lib/compiler/metadata.js.map +1 -1
- package/src/lib/fast-compile-plugin.js +14 -2
- package/src/lib/fast-compile-plugin.js.map +1 -1
package/package.json
CHANGED
|
@@ -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, {
|