Skip to content

Commit 1c3b03a

Browse files
committed
chore: fix binary cleanup as there is not a dist directory
1 parent 3aa2572 commit 1c3b03a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/web-config/webpack.config.base.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ function makeSassLoaders ({ modules }: { modules: boolean }) {
108108
}
109109

110110
// the chrome version should be synced with
111-
// npm/webpack-batteries-included-preprocessor/index.js and
111+
// npm/webpack-batteries-included-preprocessor/dist/index.js and
112112
// packages/server/lib/browsers/chrome.ts
113113
const babelPresetEnvConfig = [require.resolve('@babel/preset-env'), { targets: { 'chrome': '64' } }]
114114
const babelPresetTypeScriptConfig = [require.resolve('@babel/preset-typescript'), { allowNamespaces: true }]

scripts/binary/binary-cleanup.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ const getDependencyPathsToKeep = async (buildAppDir) => {
3939
const unixBuildAppDir = buildAppDir.split(path.sep).join(path.posix.sep)
4040
const startingEntryPoints = [
4141
'packages/server/lib/plugins/child/require_async_child.js',
42-
'packages/server/node_modules/@cypress/webpack-batteries-included-preprocessor/index.js',
42+
'packages/server/node_modules/@cypress/webpack-batteries-included-preprocessor/dist/index.js',
4343
'packages/server/node_modules/ts-loader/index.js',
4444
'packages/rewriter/lib/threads/worker.js',
45-
'npm/webpack-batteries-included-preprocessor/index.js',
45+
'npm/webpack-batteries-included-preprocessor/dist/index.js',
4646
// needed in the server entry point
4747
'node_modules/tsx/dist/cjs/index.cjs',
4848
'node_modules/tsx/dist/loader.mjs',

0 commit comments

Comments
 (0)