axios-auth-refresh has only prebuilt files, that might be the case when
vite is trying to bundle it. It seems like vite thinks that it's
constructed like:
```
export default {
default () {
// ...
}
}
```
This also fixes `jQuery is not defined` in dev
8 lines
157 B
JavaScript
8 lines
157 B
JavaScript
import jQuery from 'jquery'
|
|
|
|
// NOTE: Workaround for fomantic-ui-css
|
|
if (import.meta.env.DEV) {
|
|
window.$ = window.jQuery = jQuery
|
|
}
|
|
|
|
export default jQuery
|