Fix cjs output and testing

This commit is contained in:
kpdecker
2013-09-02 16:44:17 -05:00
parent cb0c45b29f
commit a2687fdf50
2 changed files with 7 additions and 3 deletions
+6 -2
View File
@@ -11,8 +11,12 @@ module.exports = {
cjs: {
type: 'cjs',
src: ["lib/<%= pkg.barename %>.js", "lib/*/**/*.js"],
dest: "tmp/<%= pkg.barename %>.cjs.js"
files: [{
expand: true,
cwd: 'lib/',
src: '**/*.js',
dest: 'dist/cjs/'
}]
},
globals: {
+1 -1
View File
@@ -1,6 +1,6 @@
require('./common');
global.Handlebars = require('../../zomg/lib/handlebars');
global.Handlebars = require('../../dist/cjs/handlebars');
global.CompilerContext = {
compile: function(template, options, env) {