chore(build): copy JSON files for Dart examples
This commit is contained in:
parent
2faa89852b
commit
9d2776183a
|
@ -190,6 +190,7 @@ module.exports = function makeBrowserTree(options, destinationPath) {
|
|||
htmlTree = mergeTrees([htmlTree, scripts, polymer, react]);
|
||||
|
||||
es5Tree = mergeTrees([es5Tree, htmlTree, assetsTree]);
|
||||
es6Tree = mergeTrees([es6Tree, htmlTree, assetsTree]);
|
||||
|
||||
var mergedTree = mergeTrees([stew.mv(es6Tree, '/es6'), stew.mv(es5Tree, '/es5')]);
|
||||
|
||||
|
|
|
@ -146,7 +146,10 @@ function getDocsTree() {
|
|||
// Copy all assets, ignore .js. and .dart. (handled above).
|
||||
var docs = modulesFunnel(['**/*.md', '**/*.png', '**/*.html', '**/*.css', '**/*.scss'],
|
||||
['**/*.js.md', '**/*.dart.md']);
|
||||
return mergeTrees([licenses, mdTree, docs]);
|
||||
|
||||
var assets = modulesFunnel(['examples/**/*.json']);
|
||||
|
||||
return mergeTrees([licenses, mdTree, docs, assets]);
|
||||
}
|
||||
|
||||
module.exports = function makeDartTree(options: AngularBuilderOptions) {
|
||||
|
|
Loading…
Reference in New Issue