File tree Expand file tree Collapse file tree 3 files changed +17
-15
lines changed
atmosphere-packages/angular-typescript-compiler Expand file tree Collapse file tree 3 files changed +17
-15
lines changed Original file line number Diff line number Diff line change @@ -255,15 +255,17 @@ export class AngularTsCompiler {
255
255
inputFile . addJavaScript ( toBeAdded ) ;
256
256
}
257
257
}
258
- const inputFile = inputFiles . find ( file => {
259
- const filePath = file . getPathInPackage ( ) ;
260
- return filePath . startsWith ( prefix ) &&
261
- filePath . indexOf ( 'imports' ) === - 1 ;
262
- } ) ;
263
- inputFile . addJavaScript ( {
264
- path : 'fakeLoader.js' ,
265
- data : fakeLoaderCode
266
- } ) ;
258
+ if ( fakeLoaderCode ) {
259
+ const inputFile = inputFiles . find ( file => {
260
+ const filePath = file . getPathInPackage ( ) ;
261
+ return filePath . startsWith ( prefix ) &&
262
+ filePath . indexOf ( 'imports' ) === - 1 ;
263
+ } ) ;
264
+ inputFile . addJavaScript ( {
265
+ path : 'fakeLoader.js' ,
266
+ data : fakeLoaderCode
267
+ } ) ;
268
+ }
267
269
console . timeEnd ( `[${ prefix } ]: TypeScript Files Compilation` ) ;
268
270
if ( this . isRollup && ! mainCodePath . includes ( 'node_modules' ) ) {
269
271
console . time ( `[${ prefix } ]: Rollup` ) ;
Original file line number Diff line number Diff line change 1
1
2
- angular-compilers@0.2.9_4
3
- angular-html-compiler@0.2.9
4
- angular-scss-compiler@0.2.9_1
5
- angular-typescript-compiler@0.2.9_7
2
+ angular-compilers@0.3.0
3
+ angular-html-compiler@0.3.0
4
+ angular-scss-compiler@0.3.0
5
+ angular-typescript-compiler@0.3.0
6
6
7
7
8
8
Original file line number Diff line number Diff line change @@ -10,6 +10,6 @@ exit_code=$?; if [ ${exit_code} -gt 0 ]; then exit ${exit_code}; fi
10
10
echo " [MeteorCLI - angularjs] Testing Dev"
11
11
npm run test:ci
12
12
exit_code=$? ; if [ ${exit_code} -gt 0 ]; then exit ${exit_code} ; fi
13
- echo " [MeteorCLI - angularjs] Testing Production w/ Rollup "
14
- ROLLUP=1 meteor build ./.meteor/build-rollup
13
+ echo " [MeteorCLI - angularjs] Testing Production"
14
+ meteor build ./.meteor/build
15
15
exit_code=$? ; if [ ${exit_code} -gt 0 ]; then exit ${exit_code} ; fi
You can’t perform that action at this time.
0 commit comments