Skip to content

Commit 51fb949

Browse files
Manu ChaudharyManu Chaudhary
authored andcommitted
Uglify dist file
1 parent 9c9a8e5 commit 51fb949

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "imagekit-javascript",
33
"version": "1.1.2",
44
"description": "Javascript SDK for using ImageKit.io in the browser",
5-
"main": "dist/index.js",
5+
"main": "dist/imagekit-min.js",
66
"dependencies": {
77
"lodash": "^4.17.15",
88
"url-polyfill": "^1.1.7"

samples/sample-app/server/server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const path = require('path');
88

99

1010
//const html = fs.readFileSync(path.join(__dirname, "../views/index.html"));
11-
const js = fs.readFileSync(path.join(__dirname, "../../../dist/imagekit.js"));
11+
const js = fs.readFileSync(path.join(__dirname, "../../../dist/imagekit-min.js"));
1212
const pugTemplatePath = path.join(__dirname, "../views/index.pug");
1313

1414

0 commit comments

Comments
 (0)