Skip to content

Commit c85e87e

Browse files
authored
Merge pull request #2 from nutboltu/feature-minify
[feature] minified package with babel 7 and webpack 4
2 parents dbe509e + 56281bb commit c85e87e

File tree

13 files changed

+129
-69624
lines changed

13 files changed

+129
-69624
lines changed

.babelrc

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
{
2-
"presets":[
3-
"es2015",
4-
"react"
2+
"presets": [
3+
"@babel/env",
4+
"@babel/react"
55
],
66
"plugins": [
7-
"transform-object-rest-spread"
7+
"@babel/plugin-proposal-class-properties"
88
]
9-
}
10-
9+
}

.eslintrc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,8 @@
1313
},
1414
"plugins": [
1515
"react"
16-
]
16+
],
17+
"rules": {
18+
"import/no-extraneous-dependencies": false
19+
}
1720
}

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,12 @@ import SearchField from "react-search-field";
4040
/>
4141
```
4242

43+
## Run
44+
45+
```bash
46+
npm start
47+
```
48+
4349
## License
4450

4551
MIT Licensed. Copyright (c) Farhad Yasir 2018.

dist/SearchField.js

Lines changed: 0 additions & 199 deletions
This file was deleted.

dist/index.min.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)