@rpcbase/vite 0.118.0 → 0.119.0
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/index.js
CHANGED
|
@@ -391,6 +391,13 @@ function specInputsPlugin(opts = {}) {
|
|
|
391
391
|
if (change.event === "create" || change.event === "delete") {
|
|
392
392
|
inputsDirty = true;
|
|
393
393
|
}
|
|
394
|
+
if (change.event === "update") {
|
|
395
|
+
const relFromSpec = path$1.relative(specDirAbs, absId);
|
|
396
|
+
const outputName = toPosixPath(relFromSpec).replace(/\.ts$/, "");
|
|
397
|
+
if (!currentInputs || currentInputs[outputName] !== absId) {
|
|
398
|
+
inputsDirty = true;
|
|
399
|
+
}
|
|
400
|
+
}
|
|
394
401
|
},
|
|
395
402
|
buildStart() {
|
|
396
403
|
if (!active) return;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/plugins/spec-inputs/index.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,MAAM,CAAA;AAGlC,KAAK,oBAAoB,GAAG;IAC1B,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB,CAAA;AAkCD,wBAAgB,gBAAgB,CAAC,IAAI,GAAE,oBAAyB,GAAG,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/plugins/spec-inputs/index.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,MAAM,CAAA;AAGlC,KAAK,oBAAoB,GAAG;IAC1B,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB,CAAA;AAkCD,wBAAgB,gBAAgB,CAAC,IAAI,GAAE,oBAAyB,GAAG,MAAM,CAyExE"}
|