From 8385c858209f24c47e87232baf7ef6d7c44e55df Mon Sep 17 00:00:00 2001 From: Franzz Date: Sun, 10 May 2026 19:03:42 +0200 Subject: [PATCH] Change webpack destination --- build/webpack.config.js | 2 +- lib/Spot.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build/webpack.config.js b/build/webpack.config.js index b14b175..7719772 100644 --- a/build/webpack.config.js +++ b/build/webpack.config.js @@ -24,7 +24,7 @@ module.exports = (env, argv) => { output: { path: DIST, filename: '[name].js', - publicPath: '../dist/' + publicPath: './' }, module: { rules: [{ diff --git a/lib/Spot.php b/lib/Spot.php index 4160905..530fb8c 100755 --- a/lib/Spot.php +++ b/lib/Spot.php @@ -188,7 +188,7 @@ class Spot extends Main self::MAIN_PAGE, array( 'language' => $this->oLang->getLanguage(), - 'filepath_js' => self::addTimestampToFilePath('../dist/app.js'), + 'filepath_js' => self::addTimestampToFilePath('app.js'), ), $asPages );