Skip to content

Commit

Permalink
Correct main path
Browse files Browse the repository at this point in the history
Right now users of this component will have to use

```js
import NumberInput from 'react-number-input/build/react-number-input'
```

to import it.

This PR changes that to:

```js
import NumberInput from 'react-number-input'
```
  • Loading branch information
freekmurze committed Nov 13, 2015
1 parent 6f8131a commit d270334
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "react-number-input",
"version": "1.14.7",
"description": "HTML input field designed to display formatted currency values",
"main": "src/react-number-input.js",
"main": "build/react-number-input.js",
"scripts": {
"prerelease": "NODE_ENV=production webpack --config webpack.prod.config.js",
"lint": "eslint --ext .js,.jsx .",
Expand Down

0 comments on commit d270334

Please sign in to comment.