From df08d922e912c6c7e053f52512b27aa791d54a57 Mon Sep 17 00:00:00 2001 From: Seth Silesky <5115498+silesky@users.noreply.github.com> Date: Fri, 12 Jul 2024 16:41:07 -0500 Subject: [PATCH] make configPath dry --- packages/browser/scripts/vendor/run.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' })