Skip to content

Commit 7badf04

Browse files
committed
Restructure scaffolding
1 parent ac62246 commit 7badf04

File tree

9 files changed

+6
-161
lines changed

9 files changed

+6
-161
lines changed

build.js

Lines changed: 0 additions & 154 deletions
This file was deleted.
File renamed without changes.

src/lib/src/ngx-lazy-load-images.directive.ts renamed to lib/src/ngx-lazy-load-images.directive.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import { Directive, ElementRef, Renderer2, Input, NgZone, Inject, PLATFORM_ID } from '@angular/core';
22
import { isPlatformBrowser } from '@angular/common';
33

4+
declare var require: any;
5+
46
/**
57
* Angular Lazy Loading Images Directive
68
*
File renamed without changes.

tsconfig.json renamed to lib/tsconfig.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
"target": "es5",
44
"module": "es2015",
55
"moduleResolution": "node",
6-
"sourceMap": true,
7-
"inlineSources": true,
86
"declaration": true,
97
"experimentalDecorators": true,
108
"noImplicitAny": true,
@@ -19,10 +17,10 @@
1917
]
2018
},
2119
"paths": {
22-
"@angular/*": ["/node_modules/@angular/*"]
20+
"@angular/*": ["../node_modules/@angular/*"]
2321
},
2422
"typeRoots": [
25-
"../node_modules/@types"
23+
"../../node_modules/@types"
2624
],
2725
"types": [
2826
"angular"
Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": "../../tsconfig.json",
2+
"extends": "./tsconfig.json",
33
"compilerOptions": {
44
"outDir": "../../out-tsc/lib-es2015/",
55
"target": "es2015",
@@ -15,7 +15,6 @@
1515
"strictMetadataEmit": true,
1616
"skipTemplateCodegen": true,
1717
"flatModuleOutFile": "ngx-lazy-load-images.js",
18-
"flatModuleId": "ngx-lazy-load-images",
19-
"genDir": "../../out-tsc/lib-gen-dir/"
18+
"flatModuleId": "ngx-lazy-load-images"
2019
}
2120
}

0 commit comments

Comments
 (0)