simplify exports

This commit is contained in:
Eric Fennis
2021-04-17 22:00:21 +02:00
parent 35d41c1763
commit b71ae1e055
5 changed files with 11 additions and 9 deletions
+1 -2
View File
@@ -1,8 +1,7 @@
{
"$schema": "./node_modules/ng-packagr/ng-package.schema.json",
"dest": "dist/lucide-angular",
"dest": "dist",
"lib": {
"flatModuleFile": "lucide-angular",
"entryFile": "src/index.ts"
}
}
+5 -1
View File
@@ -1,3 +1,7 @@
import * as icons from './icons';
export * from './lib/lucide-angular.component';
export * from './lib/lucide-angular.module';
export * from './lucide';
export * from './helpers/create-element';
export * from './icons';
export { icons };
@@ -5,6 +5,8 @@ import { IconData } from '../icons/types';
@NgModule({
declarations: [LucideAngularComponent],
imports: [
],
exports: [LucideAngularComponent]
})
-5
View File
@@ -1,5 +0,0 @@
import * as icons from './icons';
export * from './icons';
export * from './helpers/create-element';
export { icons };
+3 -1
View File
@@ -13,7 +13,9 @@
"lucide-angular": [
"dist"
],
"lucide-angular/icons": ["dist/icons"],
"lucide-angular/*": [
"dist/*"
],
},
"moduleResolution": "node",
"importHelpers": true,