Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix(@angular/cli): improve bootstrapping time
The x18n command was loading everything which was slowing down starting times.
  • Loading branch information
hansl committed Feb 8, 2017
commit 51bf13d130e6a1293415eca0d1f05f66f46aef63
3 changes: 1 addition & 2 deletions packages/@angular/cli/commands/xi18n.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
const Command = require('../ember-cli/lib/models/command');

import {Extracti18nTask} from '../tasks/extract-i18n';

export interface Xi18nOptions {
outputPath?: string;
verbose?: boolean;
Expand All @@ -25,6 +23,7 @@ const Xi18nCommand = Command.extend({

],
run: function (commandOptions: any) {
const {Extracti18nTask} = require('../tasks/extract-i18n');

const xi18nTask = new Extracti18nTask({
ui: this.ui,
Expand Down