File tree Expand file tree Collapse file tree 3 files changed +11
-21
lines changed Expand file tree Collapse file tree 3 files changed +11
-21
lines changed Original file line number Diff line number Diff line change 1- /*eslint-disable no-console */
2-
31// Prevent the dependency validation from tripping because we don't import these. We need
42// it as a peer dependency of @angular /core.
53// require('zone.js')
64
5+ import * as path from 'path' ;
76
8- // This file hooks up on require calls to transpile TypeScript.
97const cli = require ( '../../ember-cli/lib/cli' ) ;
108const UI = require ( '../../ember-cli/lib/ui' ) ;
11- const path = require ( 'path' ) ;
9+
1210
1311function loadCommands ( ) {
1412 return {
@@ -36,10 +34,10 @@ function loadCommands() {
3634 } ;
3735}
3836
39- module . exports = function ( options ) {
37+ export default function ( options : any ) {
4038
4139 // patch UI to not print Ember-CLI warnings (which don't apply to Angular CLI)
42- UI . prototype . writeWarnLine = function ( ) { }
40+ UI . prototype . writeWarnLine = function ( ) { } ;
4341
4442 options . cli = {
4543 name : 'ng' ,
@@ -54,4 +52,4 @@ module.exports = function(options) {
5452 process . env . CLI_ROOT = process . env . CLI_ROOT || path . resolve ( __dirname , '..' , '..' ) ;
5553
5654 return cli ( options ) ;
57- } ;
55+ }
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ // Exports the webpack plugins we use internally.
2+ export { BaseHrefWebpackPlugin } from '../lib/base-href-webpack/base-href-webpack-plugin' ;
3+ export { GlobCopyWebpackPlugin , GlobCopyWebpackPluginOptions } from './glob-copy-webpack-plugin' ;
4+ export { InsertConcatAssetsWebpackPlugin } from './insert-concat-assets-webpack-plugin' ;
5+ export { NamedLazyChunksWebpackPlugin } from './named-lazy-chunks-webpack-plugin' ;
6+ export { SuppressExtractedTextChunksWebpackPlugin } from './suppress-entry-chunks-webpack-plugin' ;
You can’t perform that action at this time.
0 commit comments