chore: track size of a "Hello world" app built with WebPack
Closes #6434
This commit is contained in:
@ -108,6 +108,12 @@ module.exports = function makeBrowserTree(options, destinationPath) {
|
||||
{include: ['**/**'], exclude: ['e2e_test/**'], destDir: '/benchmarks_external/'});
|
||||
}
|
||||
|
||||
if (modules.payload_tests) {
|
||||
var payloadTestsTree =
|
||||
new Funnel('modules/payload_tests',
|
||||
{include: ['**/ts/**'], exclude: ['e2e_test/**'], destDir: '/payload_tests/'});
|
||||
}
|
||||
|
||||
if (modules.playground) {
|
||||
var playgroundTree =
|
||||
new Funnel('modules/playground',
|
||||
@ -125,6 +131,7 @@ module.exports = function makeBrowserTree(options, destinationPath) {
|
||||
angular2MaterialTree,
|
||||
benchmarksTree,
|
||||
benchmarksExternalTree,
|
||||
payloadTestsTree,
|
||||
playgroundTree,
|
||||
benchpressTree
|
||||
]);
|
||||
@ -215,8 +222,10 @@ module.exports = function makeBrowserTree(options, destinationPath) {
|
||||
modulesTree, {include: ['**/*'], exclude: ['**/*.{html,ts,dart}'], destDir: '/'});
|
||||
}
|
||||
|
||||
var htmlTree = new Funnel(
|
||||
modulesTree, {include: ['*/src/**/*.html', '**/playground/**/*.html'], destDir: '/'});
|
||||
var htmlTree = new Funnel(modulesTree, {
|
||||
include: ['*/src/**/*.html', '**/playground/**/*.html', '**/payload_tests/**/ts/**/*.html'],
|
||||
destDir: '/'
|
||||
});
|
||||
|
||||
if (modules.benchmarks || modules.benchmarks_external || modules.playground) {
|
||||
htmlTree = replace(htmlTree, {
|
||||
|
@ -14,17 +14,18 @@ import dartfmt from '../broccoli-dartfmt';
|
||||
import replace from '../broccoli-replace';
|
||||
|
||||
var global_excludes = [
|
||||
'angular2/http*',
|
||||
'angular2/upgrade*',
|
||||
'angular2/examples/**/ts/**/*',
|
||||
'angular2/http*',
|
||||
'angular2/http/**/*',
|
||||
'angular2/src/http/**/*',
|
||||
'angular2/test/http/**/*',
|
||||
'angular2/src/upgrade/**/*',
|
||||
'angular2/test/http/**/*',
|
||||
'angular2/test/upgrade/**/*',
|
||||
'angular2/upgrade*',
|
||||
'payload_tests/**/ts/**/*',
|
||||
'playground/src/http/**/*',
|
||||
'playground/test/http/**/*',
|
||||
'playground/src/jsonp/**/*',
|
||||
'playground/test/http/**/*',
|
||||
'playground/test/jsonp/**/*'
|
||||
];
|
||||
|
||||
@ -145,7 +146,12 @@ function getDocsTree() {
|
||||
var licenses = new MultiCopy('', {
|
||||
srcPath: 'LICENSE',
|
||||
targetPatterns: ['modules/*'],
|
||||
exclude: ['*/angular2/src/http', '*/upgrade', '*/angular1_router'] // Not in dart.
|
||||
exclude: [
|
||||
'*/angular1_router',
|
||||
'*/angular2/src/http',
|
||||
'*/payload_tests',
|
||||
'*/upgrade'
|
||||
] // Not in dart.
|
||||
});
|
||||
licenses = stew.rename(licenses, stripModulePrefix);
|
||||
|
||||
|
@ -74,8 +74,8 @@ module.exports = function makeNodeTree(projects, destinationPath) {
|
||||
'angular2/test/web_workers/worker/renderer_integration_spec.ts',
|
||||
|
||||
'angular2/test/upgrade/**/*.ts',
|
||||
|
||||
'angular1_router/**',
|
||||
'payload_tests/**'
|
||||
]
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user