Fix cjs output and testing
This commit is contained in:
@@ -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: {
|
||||
|
||||
Vendored
+1
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user