Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code Refactor #47

Merged
merged 12 commits into from Aug 16, 2017
Next

Add map file name

  • Loading branch information
Shweta Jain authored and Shwetajain148 committed Aug 8, 2017
commit 8a3488dd9be2a6e0859a1c1ffb1bf7dd4a61c483
@@ -1,19 +1,18 @@
module.exports = function (grunt) {
grunt.initConfig({
pkg : grunt.file.readJSON('package.json'),
uglify : {
pkg: grunt.file.readJSON('package.json'),
uglify: {
options: {
sourceMap : true
sourceMap: true,
sourceMapName: 'src/loggly.tracker-2.1.min.map'
},
main : {
files : {
main: {
files: {
'src/loggly.tracker-2.1.min.js' : ['src/loggly.tracker.js']
}
}
}
});

grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.registerTask('default', ['uglify']);

};
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.