Change webpack destination

This commit is contained in:
2026-05-10 19:03:42 +02:00
parent 71e9c1a45a
commit 8385c85820
2 changed files with 2 additions and 2 deletions

View File

@@ -24,7 +24,7 @@ module.exports = (env, argv) => {
output: {
path: DIST,
filename: '[name].js',
publicPath: '../dist/'
publicPath: './'
},
module: {
rules: [{

View File

@@ -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
);