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
-
3
1
// Prevent the dependency validation from tripping because we don't import these. We need
4
2
// it as a peer dependency of @angular /core.
5
3
// require('zone.js')
6
4
5
+ import * as path from 'path' ;
7
6
8
- // This file hooks up on require calls to transpile TypeScript.
9
7
const cli = require ( '../../ember-cli/lib/cli' ) ;
10
8
const UI = require ( '../../ember-cli/lib/ui' ) ;
11
- const path = require ( 'path' ) ;
9
+
12
10
13
11
function loadCommands ( ) {
14
12
return {
@@ -36,10 +34,10 @@ function loadCommands() {
36
34
} ;
37
35
}
38
36
39
- module . exports = function ( options ) {
37
+ export default function ( options : any ) {
40
38
41
39
// 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 ( ) { } ;
43
41
44
42
options . cli = {
45
43
name : 'ng' ,
@@ -54,4 +52,4 @@ module.exports = function(options) {
54
52
process . env . CLI_ROOT = process . env . CLI_ROOT || path . resolve ( __dirname , '..' , '..' ) ;
55
53
56
54
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