Skip to content
This repository has been archived by the owner on Jun 10, 2018. It is now read-only.

undefined in result #53

Open
dy opened this issue Aug 15, 2014 · 0 comments
Open

undefined in result #53

dy opened this issue Aug 15, 2014 · 0 comments

Comments

@dy
Copy link

dy commented Aug 15, 2014

I invoke node build.js, where I have:

var stitch  = require('stitch');
var fs      = require('fs');

var package = stitch.createPackage({
    paths: [__dirname + '/src']
});

package.compile(function (err, source){
    fs.writeFile('dist/result.js', source, function (err) {
        if (err) throw err;
        console.log('Compiled result.js');
    })
})

But in result.js I see only undefined.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant