forked from JedWatson/react-select
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updating index.umd to export Value, ref JedWatson#1962
- Loading branch information
Showing
1 changed file
with
5 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,17 @@ | ||
// This file exists as an entry point for bundling our umd builds. | ||
// Both in rollup and in webpack, umd builds built from es6 modules are not compatible with mixed imports. (which exist in index.js) | ||
// Both in rollup and in webpack, umd builds built from es6 modules are not | ||
// compatible with mixed imports (which exist in index.js) | ||
// This file does away with named imports in favor of a single export default. | ||
|
||
import Select from './Select'; | ||
import Async from './Async'; | ||
import AsyncCreatable from './AsyncCreatable'; | ||
import Creatable from './Creatable'; | ||
import Value from './Value'; | ||
|
||
Select.Async = Async; | ||
Select.AsyncCreatable = AsyncCreatable; | ||
Select.Creatable = Creatable; | ||
Select.Value = Value; | ||
|
||
export default Select; |