Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

Anyone have can-compile working?

$
0
0

The following can-compile task outputs 3 files and this is what they contain:

  • production/views.production.js contains: !function() { }();
  • production/production.js contains: !function() { }();
  • production/production.min.js is empty.

This is the Gunt task that is run:

Running "cancompile" task

Running "cancompile:dist" (cancompile) task
Verifying property cancompile.dist exists in config...OK
Files: test/catMerchList_view.ejs, test/breadcrumb_view.mustache, test/featuredStores_view.mustache -> production/views.production.js
Options: version="0.8.0", wrapper="!function() { {{{content}}} }();"
Compiling test/catMerchList_view.ejs

Running "concat" task

Running "concat:dist" (concat) task
Verifying property concat.dist exists in config...OK
Files: production/views.production.js -> production/production.js
Options: separator="\r\n", banner="", footer="", stripBanners=false, process=false, sourceMap=false, sourceMapName=undefined, sourceMapStyle="embed"
Reading production/views.production.js...OK
Writing production/production.js...OK
File production/production.js created.

Running "uglify" task

Running "uglify:dist" (uglify) task
Verifying property uglify.dist exists in config...OK
Files: production/production.js -> production/production.min.js
Options: banner="", footer="", compress={"warnings":false}, mangle={}, beautify=false, report="min", expression=false, maxLineLen=32000, ASCIIOnly=false, screwIE8=false
Minifying with UglifyJS...Reading production/production.js...OK
OK
Writing production/production.min.js...OK
File production/production.min.js created: 19 B  0 B
1 file created.

Done, without errors.

So it runs without errors but nothing is actually getting compiled. Or if the files are being compiled they don't seem to be added the output files. Also notice that when compiling starts it only seems to work on the first file. Any ideas?


Viewing all articles
Browse latest Browse all 3491

Trending Articles