-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor(client): make use of ESM instead of CJS #1967
Conversation
import { | ||
clear as clearOverlay, | ||
showMessage as showMessageOverlay, | ||
} from './overlay'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* as overlay
is prohibited by eslint.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, I hope we did not break something for other developers
I checked using samples and there was no problem. Let's see how it goes for a while. |
Codecov Report
@@ Coverage Diff @@
## next #1967 +/- ##
==========================================
- Coverage 92.47% 92.35% -0.12%
==========================================
Files 28 28
Lines 1076 1060 -16
Branches 322 322
==========================================
- Hits 995 979 -16
Misses 77 77
Partials 4 4
Continue to review full report at Codecov.
|
I think CJS// ts
import * as socket from 'webpack-dev-server/client/socket' ESMdepends on settings of tsconfig // ts
import socket from 'webpack-dev-server/client/socket' So, we will either change to the corresponding both style or change to the next branch. Anyway, I attached the label to block merging. |
@evilebottnawi please approve if possible |
For Bugs and Features; did you add new tests?
no
Motivation / Use-Case
related #1950
Breaking Changes
no
Additional Info