-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[Draft] [WIP] [Recorder] Using import for types #7056
[Draft] [WIP] [Recorder] Using import for types #7056
Conversation
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.
a couple thoughts
"dist-esm/test/*.spec.js", | ||
"dist-esm/test/node/*.spec.js", | ||
"dist-esm/src/index.js" | ||
]; | ||
baseConfig.plugins.unshift(multiEntry()); | ||
|
||
// different output file | ||
baseConfig.output.file = "dist-test/index.node.js"; | ||
|
||
// mark assert as external |
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.
should we update this comment since it's not just assert that is getting excluded now?
dont_print: true | ||
}); | ||
if (!isBrowser()) { | ||
import("nock").then((nock) => { |
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.
since import is async, I think record() should become an async function and then we can use await here.
if (err.code !== "EEXIST") throw err; | ||
} | ||
if (!isBrowser()) { | ||
import("nock").then((nock) => { |
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.
same remark
…to harshan/issue/7033-import-only
…to harshan/issue/7033-import-only
@HarshaNalluru, Is this PR still relevant? What is pending here to get the PR out from the draft stage? |
I'll need to re-work since some of the changes here would be breaking, I'll check it out this week. |
No description provided.