Created
May 10, 2019 12:37
-
-
Save ef4/1aefc923d0ef1a12fe5437a57e6dfb98 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let writeFile = require('broccoli-file-creator'); | |
treeForPublic: function() { | |
const publicTree = this._super.treeForPublic.apply(this, arguments); | |
const trees = []; | |
if (publicTree) { | |
trees.push(publicTree); | |
} | |
trees.push(writeFile('the-settings-file.json', this.whateverTheSettingsAre()); | |
return mergeTrees(trees); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment