You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
461 B
33 lines
461 B
import axios from './lib/axios.js';
|
|
|
|
// Keep top-level export same with static properties
|
|
// so that it can keep same with es module or cjs
|
|
const {
|
|
Axios,
|
|
AxiosError,
|
|
CanceledError,
|
|
isCancel,
|
|
CancelToken,
|
|
VERSION,
|
|
all,
|
|
Cancel,
|
|
isAxiosError,
|
|
spread,
|
|
toFormData
|
|
} = axios;
|
|
|
|
export default axios;
|
|
export {
|
|
Axios,
|
|
AxiosError,
|
|
CanceledError,
|
|
isCancel,
|
|
CancelToken,
|
|
VERSION,
|
|
all,
|
|
Cancel,
|
|
isAxiosError,
|
|
spread,
|
|
toFormData
|
|
}
|