Skip to content

Commit

Permalink
Update webpack path for react-devtools-extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
anatoliik-lyft committed Jul 7, 2023
1 parent ecbcc87 commit 863b51f
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion packages/react-devtools-extensions/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,14 @@ const build = async (tempPath, manifestPath) => {
const binPath = join(tempPath, 'bin');
const zipPath = join(tempPath, 'zip');

const webpackPath = join(__dirname, 'node_modules', '.bin', 'webpack');
const webpackPath = join(
__dirname,
'..',
'..',
'node_modules',
'.bin',
'webpack',
);
execSync(
`${webpackPath} --config webpack.config.js --output-path ${binPath}`,
{
Expand Down

0 comments on commit 863b51f

Please sign in to comment.