Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

Trimming nuBuilder download size

Questions related to using nuBuilder Forte.
Post Reply
apmuthu
Posts: 249
Joined: Sun Dec 06, 2020 6:50 am
Location: Chennai, India, Singapore

Trimming nuBuilder download size

Unread post by apmuthu »

ACE Code Editor

The ace code editor is quite heavy at over 15MB.
The main components are the ace/worker-xquery.js file at 6.8 MB and the ace/src-min-noconflict folder at 6.2 MB.
Some files in the ace/src-min-noconflict folder are included in the nuace.php file.
ace-min-files.png
ace-x-query.png
There are some mode-*.js files too that are called upon in the nuace.php file too and these files may call others as well.

The other files that may be included are:
nuace-other-files.png
nudb
The nudb (phpMyAdmin) has over 44 languages in it's locale folder weighing 13.1 MB.
The nudb docs is at 2MB.

Kindly post test results.
You do not have the required permissions to view the files attached to this post.
apmuthu
Posts: 249
Joined: Sun Dec 06, 2020 6:50 am
Location: Chennai, India, Singapore

Re: Trimming nuBuilder download size

Unread post by apmuthu »

The lines like mode/sql are not paths and refer to files like mode-sql.js.

Attached is a reduced ace folder zip file that can unzipped and used to test out in the place of the full libs/ace folder in v4.5 and that in the webroot for v4.
ace.zip
You do not have the required permissions to view the files attached to this post.
kev1n
nuBuilder Team
Posts: 4307
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 447 times
Contact:

Re: Trimming nuBuilder download size

Unread post by kev1n »

It's already committed in 4.5.
apmuthu
Posts: 249
Joined: Sun Dec 06, 2020 6:50 am
Location: Chennai, India, Singapore

Re: Trimming nuBuilder download size

Unread post by apmuthu »

Wonderful!
You do not have the required permissions to view the files attached to this post.
apmuthu
Posts: 249
Joined: Sun Dec 06, 2020 6:50 am
Location: Chennai, India, Singapore

Re: Trimming nuBuilder download size

Unread post by apmuthu »

Backported fileset for manual install in v4 commit 199.
Post Reply