BREAKING CHANGE(core): update

This commit is contained in:
2020-09-22 14:26:13 +00:00
parent 1f7be6b8a0
commit c802e8846a
3 changed files with 0 additions and 115 deletions

View File

@@ -1,12 +1,7 @@
import * as plugins from './websetup.plugins';
import { setupGoogleAnalytics } from './tools/ganalytics';
import { setupFullStory } from './tools/fullstory';
import { IMetaObject, setupMetaInformation } from './meta';
export interface IWebSetupConstructorOptions {
googleAnalyticsCode?: string;
fsCode?: string;
metaObject: IMetaObject;
}
@@ -21,13 +16,5 @@ export class WebSetup {
public async setup() {
await setupMetaInformation(this.options.metaObject);
if (this.options.googleAnalyticsCode) {
await setupGoogleAnalytics(this.options.googleAnalyticsCode);
}
if (this.options.fsCode) {
await setupFullStory(this.options.fsCode);
}
}
}