mirror of https://github.com/embarklabs/embark.git
move code generator to a module
This commit is contained in:
parent
c2002e16fe
commit
bae3ee884d
|
@ -1,3 +0,0 @@
|
|||
var __mainContext = __mainContext || (
|
||||
this ? this : typeof self !== 'undefined' ? self : void 0
|
||||
);
|
|
@ -166,6 +166,10 @@ class Engine {
|
|||
self.events.request("code-generator:embarkjs:build", () => {
|
||||
self.events.emit('code-generator-ready', modifiedAssets);
|
||||
});
|
||||
|
||||
//self.codeGenerator.buildEmbarkJS(function() {
|
||||
// self.events.emit('code-generator-ready');
|
||||
//});
|
||||
};
|
||||
const cargo = async.cargo((tasks, callback) => {
|
||||
const modifiedAssets = tasks.map(task => task.modifiedAsset).filter(asset => asset); // filter null elements
|
||||
|
|
Loading…
Reference in New Issue