Skip to content

Commit

Permalink
* (bluefox) Added buildReact method
Browse files Browse the repository at this point in the history
  • Loading branch information
GermanBluefox committed Sep 4, 2024
1 parent 2fa445f commit f8f122d
Show file tree
Hide file tree
Showing 5 changed files with 89 additions and 17 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ And use in `package.json` `scripts`:
### **WORK IN PROGRESS**
-->
## Changelog
### **WORK IN PROGRESS**
* (bluefox) Added buildReact method

### 0.0.6 (2024-08-29)
* (bluefox) Added tools for admin: patchHtmlFile

Expand Down
12 changes: 12 additions & 0 deletions build/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,18 @@ export declare function npmInstall(src: string, options?: {
/** Set to false if you want to execute without `--force` flag */
force?: boolean;
}): Promise<void>;
export declare function buildReact(
/** React directory to build */
src: string, options?: {
/** use craco instead of react-scripts */
craco?: boolean;
/** Root directory to copy the version from */
rootDir?: string;
/** Use exec and not fork */
exec?: boolean;
/** Max memory size for exec */
ramSize?: number;
}): Promise<void>;
export declare function buildCraco(
/** React directory to build */
src: string, options?: {
Expand Down
39 changes: 31 additions & 8 deletions build/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit f8f122d

Please sign in to comment.