Skip to content

Commit

Permalink
reduced bundle size + added testing script
Browse files Browse the repository at this point in the history
  • Loading branch information
Andre Sander committed Feb 23, 2021
1 parent aae76fd commit 10e5245
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 8 deletions.
4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# 1.0.2

- reduced bundle size
- added testing script
9 changes: 2 additions & 7 deletions main.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,2 @@
'use strict';

console.shit = function shit() {
console.log('SHIT');
};

export default console.shit;
c = console;
c.shit = function shit() { c.log('SHIT'); };
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,8 @@
"email": "[email protected]"
},
"license": "MIT",
"devDependencies": {}
"devDependencies": {},
"scripts": {
"test": "node test.mjs"
}
}
3 changes: 3 additions & 0 deletions test.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import './main.js';

console.shit();

0 comments on commit 10e5245

Please sign in to comment.