Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This file is useful if someone wants to use application insights from a separate file instead of using inline JavaScript (For performance and security reasons) using a Gulp pipeline.
- Loading branch information
3c110ae
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we get an example on how to use this external file? @RehanSaeed thanks
3c110ae
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Create a project using this project template for a full working example or take a look at the gulpfile.js. In summary:
require('./config.json')
.gulp-replace-task
to replace these values in snippet.js