mirror of https://github.com/embarklabs/embark.git
note/question
This commit is contained in:
parent
2f2f007d5c
commit
6282e092f1
|
@ -32,6 +32,9 @@ class Pipeline {
|
||||||
self.events.request('embark-building-placeholder', (html) => {
|
self.events.request('embark-building-placeholder', (html) => {
|
||||||
fs.mkdirpSync(self.buildDir); // create dist/ folder if not already exists
|
fs.mkdirpSync(self.buildDir); // create dist/ folder if not already exists
|
||||||
fs.writeFile(self.buildDir + 'index.html', html, next);
|
fs.writeFile(self.buildDir + 'index.html', html, next);
|
||||||
|
// ^ ?? should this use path.join instead? templates' embark.json
|
||||||
|
// files have a '/' hardcoded on the end of buildDir but that doesn't
|
||||||
|
// seem too resilient
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
function buildTheContracts(next) {
|
function buildTheContracts(next) {
|
||||||
|
|
Loading…
Reference in New Issue