From bf41792d2c938916492bad8febbc33655c5eeb70 Mon Sep 17 00:00:00 2001 From: JM Date: Wed, 6 May 2026 09:40:37 +0200 Subject: [PATCH] =?UTF-8?q?webpack=20ver=C3=A4ndert?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/webpack.config.js | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/js/webpack.config.js b/js/webpack.config.js index c60f30b..690f3cb 100644 --- a/js/webpack.config.js +++ b/js/webpack.config.js @@ -1,5 +1,11 @@ +const path = require('path'); const config = require('flarum-webpack-config'); -module.exports = config({ - useExtensions: ['js'], -}); \ No newline at end of file +module.exports = config( + { + useExtensions: ['js'], + }, + { + root: path.resolve(__dirname, '..'), + } +); \ No newline at end of file