mirror of
https://github.com/cincheo/jsweet.git
synced 2025-12-15 15:29:22 +00:00
call generated definitions with a different name since they do not represent the generated code (!= from declaration option)
This commit is contained in:
parent
d505e7baad
commit
cfef2ec3ba
@ -1243,7 +1243,7 @@ public class JSweetTranspiler implements JSweetOptions {
|
|||||||
if (!bundleDirectory.exists()) {
|
if (!bundleDirectory.exists()) {
|
||||||
bundleDirectory.mkdirs();
|
bundleDirectory.mkdirs();
|
||||||
}
|
}
|
||||||
String bundleName = "bundle" + (definitionBundle ? ".d.ts" : ".ts");
|
String bundleName = "bundle" + (definitionBundle ? "-defs.d.ts" : ".ts");
|
||||||
|
|
||||||
File outputFile = new File(bundleDirectory, bundleName);
|
File outputFile = new File(bundleDirectory, bundleName);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user