diff --git a/packages/browser/scripts/vendor/run.js b/packages/browser/scripts/vendor/run.js
index 0413543c9..96c43a4d3 100644
--- a/packages/browser/scripts/vendor/run.js
+++ b/packages/browser/scripts/vendor/run.js
@@ -7,7 +7,7 @@ const { execSync } = require('node:child_process')
 const path = require('node:path')
 
 const { createTSFromJSLib } = require('./helpers')
-const configPath = 'scripts/vendor/webpack.config.vendor.js'
+const configPath = path.join(__dirname, 'webpack.config.vendor.js')
 
 execSync(`yarn webpack --config ${configPath}`, { stdio: 'inherit' })