@bongnv/google-analytics-plugin
Advanced tools
+11
-0
@@ -6,2 +6,13 @@ # Change Log | ||
| # [0.3.0](https://github.com/bongnv/vuestatic/compare/@bongnv/google-analytics-plugin@0.2.0...@bongnv/google-analytics-plugin@0.3.0) (2020-06-11) | ||
| ### Features | ||
| * add @bongnv/bundle-analyzer-plugin ([2e17139](https://github.com/bongnv/vuestatic/commit/2e17139823ac7a2110e066a6d3fbfa1451bffcc6)) | ||
| # [0.2.0](https://github.com/bongnv/vuestatic/compare/@bongnv/google-analytics-plugin@0.1.0...@bongnv/google-analytics-plugin@0.2.0) (2020-06-10) | ||
@@ -8,0 +19,0 @@ |
@@ -16,3 +16,2 @@ "use strict"; | ||
| var hooks = _a.hooks; | ||
| console.log("applying google analytics plugin"); | ||
| var pluginName = "GoogleAnalyticsPlugin"; | ||
@@ -19,0 +18,0 @@ hooks["pre-config"].tap(pluginName, function (_a) { |
+3
-3
| { | ||
| "name": "@bongnv/google-analytics-plugin", | ||
| "version": "0.2.0", | ||
| "version": "0.3.0", | ||
| "description": "A VueStatic plugin to support Google Analytics", | ||
@@ -24,3 +24,3 @@ "author": "Bong Nguyen <van.bong@grabtaxi.com>", | ||
| "scripts": { | ||
| "clean": "rimraf -rf ./dist", | ||
| "clean": "rimraf -rf ./lib", | ||
| "tsc": "tsc", | ||
@@ -53,3 +53,3 @@ "prepublishOnly": "npm run clean && npm run tsc", | ||
| }, | ||
| "gitHead": "53d98b0d5472e8eeb3721fab416047bc0f9844f0" | ||
| "gitHead": "43769c634df71e65932df06eb96e447276bd779f" | ||
| } |
| export {}; |
| "use strict"; | ||
| var __importDefault = (this && this.__importDefault) || function (mod) { | ||
| return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
| }; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| var vue_analytics_1 = __importDefault(require("vue-analytics")); | ||
| module.exports = function (_a) { | ||
| var Vue = _a.Vue, router = _a.router; | ||
| Vue.use(vue_analytics_1.default, { | ||
| id: __GOOGLE_ANALYTICS_ID__, | ||
| router: router, | ||
| }); | ||
| }; |
4555
-4.91%7
-22.22%53
-22.06%