Skip to content

Commit

Permalink
fix distribution files name 😬
Browse files Browse the repository at this point in the history
  • Loading branch information
malbernaz committed Oct 18, 2017
1 parent 12ae841 commit 1dded91
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"module": "lib/react-currency-input.es.js",
"scripts": {
"lint": "eslint src/**",
"babel": "babel --out-dir lib src",
"build:umd": "cross-env NODE_ENV=umd rollup -c",
"build:cjs": "cross-env NODE_ENV=cjs rollup -c",
"build:es": "cross-env NODE_ENV=es rollup -c",
Expand Down
2 changes: 1 addition & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import peerDeps from 'rollup-plugin-peer-deps-external';

const format = process.env.NODE_ENV;
const isUmd = format === 'umd';
const file = `lib/redux-zero.${isUmd ? 'min' : format}.js`
const file = `lib/react-currency-input.${isUmd ? 'min' : format}.js`

const config = {
input: './src/index.js',
Expand Down

0 comments on commit 1dded91

Please sign in to comment.