-
Notifications
You must be signed in to change notification settings - Fork 126
Open
Description
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.
Metadata
Metadata
Assignees
Labels
No labels