minimization no longer works

11 views
Skip to first unread message

Emile Sanchez

unread,
Nov 2, 2017, 2:58:00 PM11/2/17
to Vosao CMS Development
Hi guys,

I wanted to rebuild the main.min.js file. But it seems that the build-js.bat that minifies no longer works.

I have the following error with r.js 

C:\Users\émilio\Documents\Emilio\informatique\workspace\vosaocms\web\r.js:2154
        if (path.existsSync(url)) {
                 ^

TypeError: path.existsSync is not a function


Emile Sanchez

unread,
Nov 6, 2017, 6:12:35 AM11/6/17
to Vosao CMS Development
Hello all, Hello Will

I've found a fix and modified r.js.

I wanted to rebuild a version because the timeout of the auto-save functionality is too short : it leads to reaching Google max quotas on requests (which happened to me when working on my site).
So I increased it from 60 to 180 seconds and disable the functionality when leaving "Content" tab (bug fix). 

I'm going to push that at https://github.com/vosaocms/vosao because it's ok (newt new 1.0.4 version on Vosao Drive). 
Reply all
Reply to author
Forward
0 new messages