Skip to content

Commit

Permalink
Fixed Babel sourceType
Browse files Browse the repository at this point in the history
  • Loading branch information
jsanahuja committed Feb 6, 2020
1 parent 8bdbab1 commit f23cdc7
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 7 deletions.
4 changes: 3 additions & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ module.exports = function(grunt) {
babel: {
options: {
sourceMap: false,
comments: false,
sourceType: "unambiguous",
presets: ['@babel/preset-env', 'minify']
},
dist: {
Expand All @@ -26,5 +28,5 @@ module.exports = function(grunt) {

grunt.loadNpmTasks('grunt-babel');
grunt.loadNpmTasks('grunt-contrib-cssmin');
grunt.registerTask('dist', ['babel', 'cssmin']);
grunt.registerTask('build', ['babel', 'cssmin']);
};
2 changes: 1 addition & 1 deletion dist/Notifier.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!-- *
* Nofifier
*
* @version 1.1.0
* @version 1.1.1
*
* @author Javier Sanahuja Liebana <[email protected]>
*
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@jsanahuja/notifierjs",
"description": "Instagram Feed without access token. Not using the Instagram API",
"homepage": "https://github.com/jsanahuja/Notifier.js",
"version": "1.1.0",
"version": "1.1.1",
"keywords": [
"notifier",
"notification",
Expand All @@ -24,7 +24,7 @@
},
"license": "MIT",
"scripts": {
"dist": "grunt dist"
"build": "grunt build"
},
"devDependencies": {
"@babel/core": "^7.8.3",
Expand Down
2 changes: 1 addition & 1 deletion src/Notifier.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Nofifier
*
* @version 1.1.0
* @version 1.1.1
*
* @author Javier Sanahuja Liebana <[email protected]>
*
Expand Down
2 changes: 1 addition & 1 deletion src/Notifier.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Nofifier
*
* @version 1.1.0
* @version 1.1.1
*
* @author Javier Sanahuja Liebana <[email protected]>
*
Expand Down

0 comments on commit f23cdc7

Please sign in to comment.