You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i'm using the plugin for cake2 and everything seem ok but i can't get any js file while uglify is declared
my ini file:
;
[General]
cacheConfig = false
alwaysEnableController = false
[filter_UglifyJs]
node=C:\nodejs\node.exe
;node_path=C:\Users\manu\AppData\Roaming\npm\node_modules
node_path=node_modules\uglify-js\bin
uglify =C:\Users\manu\AppData\Roaming\npm\node_modules\uglifyjs\bin\uglifyjs
[js]
;baseUrl = http://cdn.example.com
timestamp = true
paths[] = WEBROOT/*
paths[] = WEBROOT/js/*
paths[] = app/Plugin/Agenda/webroot/js/*
paths[] = app/Plugin/Administration/webroot/js/*
cachePath = WEBROOT/cache_js
;filters[] = UglifyJs
; Each target should have a section defining the files
; everything after js_* is considered the build file.
; all files included in the build are relative to the parent
; paths key.
;
; targets can include their own filters.
[common.js]
files[] = bower_components/bootstrap/dist/js/bootstrap.js
files[] = bower_components/jasny-bootstrap/dist/js/jasny-bootstrap.min.js
filters[] = UglifyJs
and the output :
`Welcome to CakePHP v2.8.4 Console
---------------------------------------------------------------
App : app
Path: C:\wamp\www\culturo\app\
---------------------------------------------------------------
Building files defined in the ini file
---------------------------------------------------------------
Saving file for common.v1465402139.js
Error: (node) util.print is deprecated. Use console.log instead.
Building files in views
---------------------------------------------------------------
Done.
The text was updated successfully, but these errors were encountered:
I've never used node on windows, so I don't think I'll be much help. You might have to dig through the UglifyFilter and see where things are going wrong.
i'm using the plugin for cake2 and everything seem ok but i can't get any js file while uglify is declared
my ini file:
and the output :
The text was updated successfully, but these errors were encountered: