Skip to content

Commit cc69dbc

Browse files
committed
include rfcs/images in the output public folder
1 parent f8159b9 commit cc69dbc

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

ember-cli-build.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,22 @@
11
'use strict';
22

33
const EmberApp = require('ember-cli/lib/broccoli/ember-app');
4+
const mergeTrees = require('broccoli-merge-trees');
5+
const funnel = require('broccoli-funnel');
46

57
module.exports = function (defaults) {
68
let app = new EmberApp(defaults, {
79
rfcProcess: {
810
textLocation: 'processed-rfcs',
911
},
12+
trees: {
13+
public: mergeTrees([
14+
'public',
15+
funnel('rfcs/images', {
16+
destDir: 'images',
17+
}),
18+
]),
19+
},
1020
});
1121

1222
// Use `app.import` to add additional libraries to the generated

0 commit comments

Comments
 (0)