From 02fe84ac2f4f7f507e0a3a497e54e3f5b8ef8351 Mon Sep 17 00:00:00 2001 From: Robby Date: Wed, 11 Jul 2018 16:53:25 +0800 Subject: [PATCH] Fix aot and prod error --- package.json | 2 +- playground/index.ts | 2 +- src/index.ts | 2 ++ src/package.json | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 837d56a..a42f4fc 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "agm-direction", "description": "directive for agm (not official)", - "version": "0.5.9", + "version": "0.6.0", "scripts": { "build": "gulp build", "build:watch": "gulp", diff --git a/playground/index.ts b/playground/index.ts index cd4fd68..10edaa4 100644 --- a/playground/index.ts +++ b/playground/index.ts @@ -63,7 +63,7 @@ class AppComponent { BrowserModule, FormsModule, AgmCoreModule.forRoot({ // @agm/core - apiKey: '', + apiKey: 'AIzaSyDFTKbcSXEN22pUx3zfaabEOGyy7oOZtmI', }), AgmDirectionModule ] diff --git a/src/index.ts b/src/index.ts index b96e5b6..ce41859 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,6 +1,8 @@ import { NgModule, ModuleWithProviders } from '@angular/core'; import { AgmDirection } from './agm-direction.directive'; +export * from './agm-direction.directive'; + @NgModule({ imports: [], declarations: [ diff --git a/src/package.json b/src/package.json index 4691777..da81967 100644 --- a/src/package.json +++ b/src/package.json @@ -1,7 +1,7 @@ { "name": "agm-direction", "description": "directive for agm (not official)", - "version": "0.5.9", + "version": "0.6.0", "repository": { "type": "git", "url": "https://github.com/explooosion/Agm-Direction"