Skip to content

Commit

Permalink
Minor rollup config tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
JedWatson committed Sep 9, 2017
1 parent 5db27b5 commit 8ee4e68
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions rollup.config.js
Expand Up @@ -9,7 +9,7 @@ export default {
input: 'src/index.umd.js',
output: {
name: 'Select',
file: getDist(min),
file: min ? 'dist/react-select.min.js' : 'dist/react-select.js',
format: 'umd',
},
globals: {
Expand All @@ -35,8 +35,3 @@ export default {
min ? uglify({}, minify) : {},
]
};


function getDist (min) {
return min ? 'dist/react-select.min.js' : 'dist/react-select.js';
}

0 comments on commit 8ee4e68

Please sign in to comment.