Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix cjs output and testing
  • Loading branch information
kpdecker committed Sep 2, 2013
1 parent cb0c45b commit a2687fd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions configurations/transpile.js
Expand Up @@ -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: {
Expand Down
2 changes: 1 addition & 1 deletion spec/env/node.js
@@ -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) {
Expand Down

0 comments on commit a2687fd

Please sign in to comment.