chore(dart): Copy css resources in build
Include css resources in the files copied to the dist/dart directory. This fixes 404s occuring when testing the todo/ app.
This commit is contained in:
parent
98e7a38e50
commit
4320859e1b
|
@ -46,7 +46,7 @@ function getSourceTree() {
|
||||||
var tsInputTree = modulesFunnel(['**/*.js', '**/*.ts', '**/*.dart'], ['rtts_assert/**/*']);
|
var tsInputTree = modulesFunnel(['**/*.js', '**/*.ts', '**/*.dart'], ['rtts_assert/**/*']);
|
||||||
var transpiled = ts2dart.transpile(tsInputTree);
|
var transpiled = ts2dart.transpile(tsInputTree);
|
||||||
// Native sources, dart only examples, etc.
|
// Native sources, dart only examples, etc.
|
||||||
var dartSrcs = modulesFunnel(['**/*.dart', '**/*.ng_meta.json']);
|
var dartSrcs = modulesFunnel(['**/*.dart', '**/*.ng_meta.json', '**/css/**']);
|
||||||
return mergeTrees([transpiled, dartSrcs]);
|
return mergeTrees([transpiled, dartSrcs]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue