-
Inputimport ReactDOM from 'react-dom/client';
import {Provider} from 'react-redux';
import 'systemjs';
import {AppRouter} from './routes';
import {store} from './store';
import './public-path'; What i want// I want to put these 2 top
// which have no export, just need import
import './public-path';
import 'systemjs';
import ReactDOM from 'react-dom/client';
import {Provider} from 'react-redux';
import {AppRouter} from './routes';
import {store} from './store'; |
Beta Was this translation helpful? Give feedback.
Answered by
IanVS
May 8, 2023
Replies: 1 comment 1 reply
-
If you just want to avoid those "side-effect" imports from moving around, you can take a look at https://github.com/IanVS/prettier-plugin-sort-imports, which does not sort those kinds of imports. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
shalldie
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you just want to avoid those "side-effect" imports from moving around, you can take a look at https://github.com/IanVS/prettier-plugin-sort-imports, which does not sort those kinds of imports.