From 640422680f725734ae7bf288b268c63181f319bf Mon Sep 17 00:00:00 2001 From: Alex Rudenko Date: Tue, 23 May 2023 12:06:26 +0200 Subject: [PATCH] fix: webpack tests to use dirname (#10230) --- test/installation/assets/puppeteer/webpack/webpack.config.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/installation/assets/puppeteer/webpack/webpack.config.js b/test/installation/assets/puppeteer/webpack/webpack.config.js index 63ab015ef84..cb386828202 100644 --- a/test/installation/assets/puppeteer/webpack/webpack.config.js +++ b/test/installation/assets/puppeteer/webpack/webpack.config.js @@ -22,4 +22,7 @@ export default { path: process.cwd(), filename: 'bundle.js', }, + node: { + __dirname: true, + }, };