@kubb/core 0.44.1 → 0.44.2
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.d.ts +5 -0
- package/dist/index.global.js +4 -4
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
package/dist/index.global.js
CHANGED
|
@@ -16902,6 +16902,7 @@ var kubb = (function (exports) {
|
|
|
16902
16902
|
|
|
16903
16903
|
// src/build.ts
|
|
16904
16904
|
init_define_process();
|
|
16905
|
+
var import_path4 = __toESM(require_path_browserify());
|
|
16905
16906
|
|
|
16906
16907
|
// src/utils/isURL.ts
|
|
16907
16908
|
init_define_process();
|
|
@@ -16917,9 +16918,6 @@ var kubb = (function (exports) {
|
|
|
16917
16918
|
return false;
|
|
16918
16919
|
};
|
|
16919
16920
|
|
|
16920
|
-
// src/build.ts
|
|
16921
|
-
var import_path4 = __toESM(require_path_browserify());
|
|
16922
|
-
|
|
16923
16921
|
// src/managers/pluginManager/PluginManager.ts
|
|
16924
16922
|
init_define_process();
|
|
16925
16923
|
|
|
@@ -17634,7 +17632,9 @@ ${curr.source}`,
|
|
|
17634
17632
|
}
|
|
17635
17633
|
if (code) {
|
|
17636
17634
|
const transformedCode = await pluginManager.hookReduceArg0("transform", [code, path], transformReducer);
|
|
17637
|
-
|
|
17635
|
+
if (config.output.write || config.output.write === void 0) {
|
|
17636
|
+
await pluginManager.hookParallel("writeFile", [transformedCode, path]);
|
|
17637
|
+
}
|
|
17638
17638
|
fileManager.setStatus(id, "success");
|
|
17639
17639
|
fileManager.remove(id);
|
|
17640
17640
|
}
|