mirror of
https://github.com/lucide-icons/lucide.git
synced 2026-11-13 13:48:26 +00:00
simplify exports
This commit is contained in:
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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]
|
||||
})
|
||||
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
import * as icons from './icons';
|
||||
export * from './icons';
|
||||
export * from './helpers/create-element';
|
||||
|
||||
export { icons };
|
||||
@@ -13,7 +13,9 @@
|
||||
"lucide-angular": [
|
||||
"dist"
|
||||
],
|
||||
"lucide-angular/icons": ["dist/icons"],
|
||||
"lucide-angular/*": [
|
||||
"dist/*"
|
||||
],
|
||||
},
|
||||
"moduleResolution": "node",
|
||||
"importHelpers": true,
|
||||
|
||||
Reference in New Issue
Block a user