File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
packages/angular_devkit/build_angular/src Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,9 @@ import { Schema as BrowserBuilderOptions } from '../browser/schema';
2525import { createI18nOptions } from '../utils/i18n-options' ;
2626import { assertCompatibleAngularVersion } from '../utils/version' ;
2727import { generateBrowserWebpackConfigFromContext } from '../utils/webpack-browser-config' ;
28- import { Format , Schema as ExtractI18nBuilderOptions } from './schema' ;
28+ import { Format , Schema } from './schema' ;
29+
30+ export type ExtractI18nBuilderOptions = Schema & JsonObject ;
2931
3032function getI18nOutfile ( format : string | undefined ) {
3133 switch ( format ) {
@@ -49,7 +51,7 @@ class InMemoryOutputPlugin {
4951 }
5052}
5153
52- async function execute ( options : ExtractI18nBuilderOptions , context : BuilderContext ) {
54+ export async function execute ( options : ExtractI18nBuilderOptions , context : BuilderContext ) {
5355 // Check Angular version.
5456 assertCompatibleAngularVersion ( context . workspaceRoot , context . logger ) ;
5557
Original file line number Diff line number Diff line change @@ -43,6 +43,11 @@ export {
4343 DevServerBuilderOutput ,
4444} from './dev-server' ;
4545
46+ export {
47+ execute as executeExtractI18nBuilder ,
48+ ExtractI18nBuilderOptions ,
49+ } from './extract-i18n' ;
50+
4651export {
4752 execute as executeKarmaBuilder ,
4853 KarmaBuilderOptions ,
You can’t perform that action at this time.
0 commit comments