feat: minify SDK JavaScript and improve build process
- Implemented minification of the cs-ai-agent-sdk.min.js file using Terser during the build process. - Updated build-sdk.mjs to read the source code, minify it, and write the output to the target directory. - Added logging to display the size reduction after minification. - Removed redundant code and streamlined the configuration handling in the SDK.
This commit is contained in:
@@ -61,6 +61,7 @@
|
||||
"eslint-config-next": "16.1.6",
|
||||
"sass": "^1.98.0",
|
||||
"tailwindcss": "^4",
|
||||
"terser": "^5.46.2",
|
||||
"typescript": "^5"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user