@mtno/insights
- @mtno/insights contains reusable Microsoft Application Insights library to be used in different projects.
- It is built using WebPack and TypeScript. Some basic unit tests using jest
Usage
To use this in your project, run:
npm install --save-dev @mtno/insights
npm install --save-dev webpack
npm install --save-dev webpack-cli
Modify your project's WebPack Configuration file and include following section:
plugins: [
new webpack.DllReferencePlugin({
context: ".",
manifest: require('@mtno/insights/mtno-insights-manifest.json')
})
]
Include the refrence of the Insights bundle either from UNPKG CDN or deploy the bundle file as part of ayour application