Skip to content

Commit e838027

Browse files
authored
Merge pull request #28 from codevor/develop
Develop
2 parents c5abb46 + 42f63d9 commit e838027

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"name": "js-http-status",
3-
"version": "0.1.2",
3+
"version": "0.1.3",
44
"description": "[![License][license-badge]][license-url]",
5-
"main": "src/index.js",
5+
"main": "dist/index",
66
"scripts": {
77
"commit": "git-cz",
88
"clean": "rimraf dist",

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export { default as findStatus } from './utils/find-status';
1+
export { default as findStatus } from './utils/find-status/index';
22
export {
33
default as findStatusByCode
44
} from './utils/find-status/find-status-by-code';

webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ module.exports = {
1111
},
1212
output: {
1313
path: path.resolve(__dirname, 'dist'),
14-
filename: isProduction ? 'http-status.min.js' : 'http-status.js',
14+
filename: 'index.js',
1515
library: 'js-http-status',
1616
libraryTarget: 'umd',
1717
umdNamedDefine: true,

0 commit comments

Comments
 (0)