@@ -47,22 +47,30 @@ public void processOpts() {
47
47
48
48
// `client` related files, `algoliasearch` have it's own logic below
49
49
if (!isAlgoliasearchClient ) {
50
- // builds
51
- supportingFiles .add (new SupportingFile ("client/builds/browser.mustache" , "builds" , "browser.ts" ));
52
- supportingFiles .add (new SupportingFile ("client/builds/node.mustache" , "builds" , "node.ts" ));
53
-
54
50
// models
55
51
supportingFiles .add (new SupportingFile ("client/model/clientMethodProps.mustache" , "model" , "clientMethodProps.ts" ));
56
52
supportingFiles .add (new SupportingFile ("client/model/modelBarrel.mustache" , "model" , "index.ts" ));
53
+
54
+ // builds
55
+ supportingFiles .add (new SupportingFile ("client/builds/browser.mustache" , "builds" , "browser.ts" ));
56
+ supportingFiles .add (new SupportingFile ("client/builds/node.mustache" , "builds" , "node.ts" ));
57
57
}
58
58
// `algoliasearch` related files
59
59
else {
60
- // builds
60
+ // `algoliasearch` builds
61
61
supportingFiles .add (new SupportingFile ("algoliasearch/builds/browser.mustache" , "builds" , "browser.ts" ));
62
62
supportingFiles .add (new SupportingFile ("algoliasearch/builds/node.mustache" , "builds" , "node.ts" ));
63
63
supportingFiles .add (new SupportingFile ("algoliasearch/builds/models.mustache" , "builds" , "models.ts" ));
64
64
65
- // root `lite` export files
65
+ // `lite` builds
66
+ supportingFiles .add (new SupportingFile ("client/builds/browser.mustache" , "lite/builds" , "browser.ts" ));
67
+ supportingFiles .add (new SupportingFile ("client/builds/node.mustache" , "lite/builds" , "node.ts" ));
68
+
69
+ // `lite` models
70
+ supportingFiles .add (new SupportingFile ("client/model/clientMethodProps.mustache" , "lite/model" , "clientMethodProps.ts" ));
71
+ supportingFiles .add (new SupportingFile ("client/model/modelBarrel.mustache" , "lite/model" , "index.ts" ));
72
+
73
+ // `lite root export files
66
74
supportingFiles .add (new SupportingFile ("algoliasearch/lite.mustache" , "" , "lite.js" ));
67
75
supportingFiles .add (new SupportingFile ("algoliasearch/lite.d.mustache" , "" , "lite.d.ts" ));
68
76
}
0 commit comments