-
Notifications
You must be signed in to change notification settings - Fork 3.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
chore: issue with ts-loader missing in binary and problematic esbuild norewrite construct #25797
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,8 +40,10 @@ const getDependencyPathsToKeep = async (buildAppDir) => { | |
const startingEntryPoints = [ | ||
'packages/server/lib/plugins/child/require_async_child.js', | ||
'packages/server/lib/plugins/child/register_ts_node.js', | ||
'packages/server/node_modules/@cypress/webpack-batteries-included-preprocessor/index.js', | ||
'packages/server/node_modules/ts-loader/index.js', | ||
'packages/rewriter/lib/threads/worker.js', | ||
'node_modules/@cypress/webpack-batteries-included-preprocessor/index.js', | ||
'npm/webpack-batteries-included-preprocessor/index.js', | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I assume we are replacing these npm paths during the build step? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The package process creates an alias at node modules that points here. But the files live here |
||
'node_modules/webpack/lib/webpack.js', | ||
'node_modules/webpack-dev-server/lib/Server.js', | ||
'node_modules/html-webpack-plugin-4/index.js', | ||
|
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.
It annoys me that this dependency is duplicated in the binary, but it's been that way for a while and cleaning it up is out of scope for this PR.