File tree 5 files changed +21
-2
lines changed
5 files changed +21
-2
lines changed Original file line number Diff line number Diff line change
1
+ export class SomeClass {
2
+
3
+ static foo ( ) {
4
+ console . log ( 'bar' ) ;
5
+ }
6
+ }
Original file line number Diff line number Diff line change
1
+ body {
2
+ background : red ;
3
+ }
Original file line number Diff line number Diff line change 1
1
import { enableProdMode } from '@angular/core' ;
2
2
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic' ;
3
-
4
3
import { AppModule } from './app/app.module' ;
5
4
import { environment } from './environments/environment' ;
6
5
6
+ import { SomeClass } from '@core/module/file' ; // aliased import works fine with TS files
7
+
7
8
if ( environment . production ) {
8
9
enableProdMode ( ) ;
9
10
}
10
11
11
12
platformBrowserDynamic ( ) . bootstrapModule ( AppModule )
12
13
. catch ( err => console . log ( err ) ) ;
14
+
15
+
16
+ SomeClass . foo ( ) ; // this seems to work file
Original file line number Diff line number Diff line change 1
1
/* You can add global styles to this file, and also import other style files */
2
+ @import ' ~@core/module/styles' ; // this fails since 1.3.0
Original file line number Diff line number Diff line change 4
4
"outDir" : " ../out-tsc/app" ,
5
5
"baseUrl" : " ./" ,
6
6
"module" : " es2015" ,
7
- "types" : []
7
+ "types" : [],
8
+ "paths" : {
9
+ "@core/*" : [
10
+ " ./core/*"
11
+ ]
12
+ }
8
13
},
9
14
"exclude" : [
10
15
" test.ts" ,
You can’t perform that action at this time.
0 commit comments