| Index: pkg/compiler/lib/src/dart2js.dart
|
| diff --git a/pkg/compiler/lib/src/dart2js.dart b/pkg/compiler/lib/src/dart2js.dart
|
| index aa564ed74fd86d2b528149df6561938463e28e33..4d5edf8db3aba0c39610f65adb07a2a00b63c77b 100644
|
| --- a/pkg/compiler/lib/src/dart2js.dart
|
| +++ b/pkg/compiler/lib/src/dart2js.dart
|
| @@ -333,6 +333,7 @@ Future<api.CompilationResult> compile(List<String> argv) {
|
| new OptionHandler('--categories=.*', setCategories),
|
| new OptionHandler('--disable-type-inference', implyCompilation),
|
| new OptionHandler('--terse', passThrough),
|
| + new OptionHandler('--deferred-map=.+', implyCompilation),
|
| new OptionHandler('--dump-info', implyCompilation),
|
| new OptionHandler('--disallow-unsafe-eval',
|
| (_) => hasDisallowUnsafeEval = true),
|
| @@ -599,6 +600,10 @@ be removed in a future version:
|
| unsupported category, for example, --categories=help. To enable
|
| all categories, use --categories=all.
|
|
|
| + --deferred-map=<file>
|
| + Generates a json file with a mapping from each deferred import to a list of
|
| + the part.js files that will be loaded.
|
| +
|
| --dump-info
|
| Generates an out.info.json file with information about the generated code.
|
| You can inspect the generated file with the viewer at:
|
|
|